AttributeError: 'NoneType' object has no attribute 'action_space'
JKK-dr opened this issue · 2 comments
Traceback (most recent call last):
File "train_il.py", line 269, in
train()
File "train_il.py", line 109, in train
trainer = eval(config.TASK_CONFIG.IL_TRAINER)(config, policy)
File "/data/polaris/TopologicalSemanticGraphMemory-master/trainer/il/il_trainer.py", line 15, in init
self.env_wrapper = eval(cfg.IL.WRAPPER)(None)
File "/data/polaris/TopologicalSemanticGraphMemory-master/trainer/il/il_wrapper.py", line 11, in init
super().init(env)
File "/data/Tool/anaconda3/envs/tsgm/lib/python3.7/site-packages/gym/core.py", line 227, in init
self.action_space = self.env.action_space
AttributeError: 'NoneType' object has no attribute 'action_space'
I meet this problem. Can you help me?
exactly same problem here! Have you managed to solve it?
Hello, Thanks for your interest in our work :).
I think gym version is mismatched. please downgrade the gym version.
Thanks