rsnt_translations
56,420
edits
(Simplify and fix example) |
(Marked this version for translation) |
||
Line 82: | Line 82: | ||
import wandb | import wandb | ||
<!--T:47--> | |||
wandb.init(project="wandb-pytorch-test") | wandb.init(project="wandb-pytorch-test") | ||
<!--T:48--> | |||
for my_metric in range(10): | for my_metric in range(10): | ||
wandb.log({'my_metric': my_metric}) | wandb.log({'my_metric': my_metric}) | ||
Line 90: | Line 92: | ||
}} | }} | ||
<!--T:49--> | |||
After a training run in offline mode, there will be a new folder <code>./wandb/offline-run*</code>. You can send the metrics to the server using the command <code>wandb sync ./wandb/offline-run*</code>. Note that using <code>*</code> will sync all runs. | After a training run in offline mode, there will be a new folder <code>./wandb/offline-run*</code>. You can send the metrics to the server using the command <code>wandb sync ./wandb/offline-run*</code>. Note that using <code>*</code> will sync all runs. | ||
</translate> | </translate> |