Spaces:
Running
Running
feat: set default x-axis
Browse files
seq2seq/run_seq2seq_flax.py
CHANGED
@@ -377,6 +377,10 @@ def main():
|
|
377 |
config=parser.parse_args()
|
378 |
)
|
379 |
|
|
|
|
|
|
|
|
|
380 |
# Make one log on every process with the configuration for debugging.
|
381 |
pylogging.basicConfig(
|
382 |
format="%(asctime)s - %(levelname)s - %(name)s - %(message)s",
|
|
|
377 |
config=parser.parse_args()
|
378 |
)
|
379 |
|
380 |
+
# set default x-axis as 'train/step'
|
381 |
+
wandb.define_metric('train/step')
|
382 |
+
wandb.define_metric('*', step_metric='train/step')
|
383 |
+
|
384 |
# Make one log on every process with the configuration for debugging.
|
385 |
pylogging.basicConfig(
|
386 |
format="%(asctime)s - %(levelname)s - %(name)s - %(message)s",
|