You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When load_weights: True, CREDIT models will read previous training information from training_log.csv. If the save_metric_vars option is inconsistent between previous epochs and the current epoch (e.g., adding a new variable in save_metric_vars), base_trainer.py will produce an error when reading/writing training_log.csv.
[rank1]: Traceback (most recent call last):
[rank1]: File "/glade/u/home/ksha/miles-credit/applications/train_multistep.py", line 590, in <module>
[rank1]: main(world_rank, world_size, conf, backend)
[rank1]: File "/glade/u/home/ksha/miles-credit/applications/train_multistep.py", line 423, in main
[rank1]: result = trainer.fit(
[rank1]: ^^^^^^^^^^^^
[rank1]: File "/glade/u/home/ksha/.local/lib/python3.11/site-packages/credit/trainers/base_trainer.py", line 491, in fit
[rank1]: result = {k: v[best_epoch] for k, v in results_dict.items()}
[rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank1]: File "/glade/u/home/ksha/.local/lib/python3.11/site-packages/credit/trainers/base_trainer.py", line 491, in <dictcomp>
[rank1]: result = {k: v[best_epoch] for k, v in results_dict.items()}
[rank1]: ~^^^^^^^^^^^^
[rank1]: IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
When
load_weights: True
, CREDIT models will read previous training information fromtraining_log.csv
. If thesave_metric_vars
option is inconsistent between previous epochs and the current epoch (e.g., adding a new variable insave_metric_vars
),base_trainer.py
will produce an error when reading/writingtraining_log.csv
.The text was updated successfully, but these errors were encountered: