Merge remote-tracking branch 'origin/run_resumption' into run_resumption

This commit is contained in:
Alexander Soare 2024-05-21 18:38:28 +01:00
commit e0d302bc3c
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ def resolve_delta_timestamps(cfg):
if delta_timestamps is not None:
for key in delta_timestamps:
if isinstance(delta_timestamps[key], str):
# TODO(rcadene, alexander-soare): remove `eval` to avoid exploit
cfg.training.delta_timestamps[key] = eval(delta_timestamps[key])