Update lerobot/common/datasets/factory.py
Co-authored-by: Remi <re.cadene@gmail.com>
This commit is contained in:
parent
ae96c16cba
commit
675476a9ef
|
@ -31,6 +31,7 @@ def resolve_delta_timestamps(cfg):
|
||||||
if delta_timestamps is not None:
|
if delta_timestamps is not None:
|
||||||
for key in delta_timestamps:
|
for key in delta_timestamps:
|
||||||
if isinstance(delta_timestamps[key], str):
|
if isinstance(delta_timestamps[key], str):
|
||||||
|
# TODO(rcadene, alexander-soare): remove `eval` to avoid exploit
|
||||||
cfg.training.delta_timestamps[key] = eval(delta_timestamps[key])
|
cfg.training.delta_timestamps[key] = eval(delta_timestamps[key])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue