openai / gym

A toolkit for developing and comparing reinforcement learning algorithms.
https://www.gymlibrary.dev
Other
34.2k stars 8.58k forks source link

AttributeError: attempted to get missing private attribute '_domain_file' #3276

Open emoLeader opened 1 month ago

emoLeader commented 1 month ago

Traceback (most recent call last): File "main.py", line 312, in test_stats, global_stats = test_planner( File "/home/lzy/scenegraph-planners/ploi/traineval.py", line 162, in test_planner env.domain, state, timeout=timeout, domain_file_global=env._domain_file File "/home/lzy/anaconda3/envs/taskography/lib/python3.8/site-packages/gym/core.py", line 235, in getattr raise AttributeError( AttributeError: attempted to get missing private attribute '_domain_file'

how?please

pseudo-rnd-thoughts commented 1 month ago

change to env.unwrapped._domain_file

emoLeader commented 1 month ago

I really appreciate your help. It means a lot to me!!!!