nghorbani / soma

Solving Optical MoCap Automatically
Other
183 stars 36 forks source link

Label priming tutorial OmegaConf bug #25

Closed ritaank closed 1 year ago

ritaank commented 1 year ago

Hi,

I am unable to go through the label priming demo, it throws an error when running run_soma_on_multiple_settings() :

UnsupportedInterpolationType: Unsupported interpolation type resolve_mocap_subject
    full_key: dirs.mocap_out_fname
    object_type=dict

happens on line 156 of run_soma_multiple.py:

soma_labeled_mocap_fname = cur_soma_cfg.dirs.mocap_out_fname

I trivially tried downgrading the omegaconf version from 2.3 to 2.1.2; this did not work. Have not figured out what part of the conf filename path is causing the interpolation error. Any ideas?

ritaank commented 1 year ago

the issue is in soma_run_conf.yaml file: the function resolve_mocap_subject called in subject_name is having the issue. One fix is to replace resolve_mocap_subject with resolve_mocap_subjects, in this case, the subject name always shows up as ['null'] but the code does work.