lukashermann / hulc

Hierarchical Universal Language Conditioned Policies
http://hulc.cs.uni-freiburg.de
MIT License
64 stars 10 forks source link

Error while running trainning.py #14

Closed lzhhh93 closed 1 year ago

lzhhh93 commented 1 year ago

Hi everyone,

I am trying to run the trainning.py for debug dataset without using the pretrained model. Now I stuck at this TypeError:

'calvin_env _file_' is 'None'

Since I am not sure about what 'calvin_env.file' here refer to, I am confused.

Thanks for any tipps in advance.

aopolin-lv commented 10 months ago

Hello, I met this problem, too. Could you give me some advice to solve this problem?

lzhhh93 commented 10 months ago

Hello, I met this problem, too. Could you give me some advice to solve this problem?

Hi, a quick way to resolve it would be:

in line 72 above, replace the argument for the Path() function with the absolute path of the "calvin_env" like this:
log.info(f"Using calvin_env with commit {get_git_commit_hash(Path('your/path/to/calvin_env'))}.")