Skip to content

Commit

Permalink
[fix] DT_INFO_DICT in frame_cfg does not working
Browse files Browse the repository at this point in the history
  • Loading branch information
kervias committed Feb 28, 2024
1 parent 3f659ef commit e935469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edustudio/datatpl/common/base_datatpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def download_dataset(cls, cfg):
fph = cfg.frame_cfg['DT_INFO_FILE_PATH']
dataset_info = cls.read_yml_file(fph)
dataset_info_from_cfg: dict = cfg['frame_cfg']['DT_INFO_DICT']
dataset_info_from_cfg.update(dataset_info)
dataset_info.update(dataset_info_from_cfg)

if dt_name not in dataset_info:
raise Exception("Can't find dataset files from Local and Internet!")
Expand Down

0 comments on commit e935469

Please sign in to comment.