Spaces:
Running
Running
fix: log metadata
Browse files
seq2seq/run_seq2seq_flax.py
CHANGED
@@ -791,7 +791,7 @@ def main():
|
|
791 |
|
792 |
# save to W&B
|
793 |
if data_args.log_model:
|
794 |
-
metadata = {'
|
795 |
if eval_metrics is not None:
|
796 |
metadata['eval/loss'] = eval_metrics['loss']
|
797 |
artifact = wandb.Artifact(
|
|
|
791 |
|
792 |
# save to W&B
|
793 |
if data_args.log_model:
|
794 |
+
metadata = {'step': step, 'epoch': epoch}
|
795 |
if eval_metrics is not None:
|
796 |
metadata['eval/loss'] = eval_metrics['loss']
|
797 |
artifact = wandb.Artifact(
|