Object-Goal-Navigation
Object-Goal-Navigation copied to clipboard
keyerror when eval the pretrained model provided by the offical
Process ForkServerProcess-2:
Traceback (most recent call last):
File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/utils/vector_env.py", line 193, in _worker_env
observations = env.reset()
File "/home/zyj/vln/Object-Goal-Navigation/agents/sem_exp.py", line 62, in reset
obs, info = super().reset()
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/objectgoal_env.py", line 329, in reset
obs = self.load_new_episode()
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/objectgoal_env.py", line 106, in load_new_episode
goal_name = episode["goal_name"]
KeyError: 'goal_name'
I0406 18:01:11.748121 174960 Simulator.cpp:39] Deconstructing Simulator
I0406 18:01:11.749099 174959 Renderer.cpp:33] Deconstructing Renderer
I0406 18:01:11.749117 174959 WindowlessContext.h:16] Deconstructing WindowlessContext
I0406 18:01:11.749120 174959 WindowlessContext.cpp:245] Deconstructing GL context
Process ForkServerProcess-1:
Traceback (most recent call last):
File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/utils/vector_env.py", line 193, in _worker_env
observations = env.reset()
File "/home/zyj/vln/Object-Goal-Navigation/agents/sem_exp.py", line 62, in reset
obs, info = super().reset()
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/objectgoal_env.py", line 329, in reset
obs = self.load_new_episode()
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/objectgoal_env.py", line 106, in load_new_episode
goal_name = episode["goal_name"]
KeyError: 'goal_name'
I0406 18:01:11.749852 174959 Simulator.cpp:39] Deconstructing Simulator
I0406 18:01:11.753590 174961 Renderer.cpp:33] Deconstructing Renderer
I0406 18:01:11.753607 174961 WindowlessContext.h:16] Deconstructing WindowlessContext
I0406 18:01:11.753609 174961 WindowlessContext.cpp:245] Deconstructing GL context
Process ForkServerProcess-3:
Traceback (most recent call last):
File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/utils/vector_env.py", line 193, in _worker_env
observations = env.reset()
File "/home/zyj/vln/Object-Goal-Navigation/agents/sem_exp.py", line 62, in reset
obs, info = super().reset()
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/objectgoal_env.py", line 329, in reset
obs = self.load_new_episode()
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/objectgoal_env.py", line 106, in load_new_episode
goal_name = episode["goal_name"]
KeyError: 'goal_name'
I0406 18:01:11.754305 174961 Simulator.cpp:39] Deconstructing Simulator
I0406 18:01:11.761523 174962 Renderer.cpp:33] Deconstructing Renderer
I0406 18:01:11.761543 174962 WindowlessContext.h:16] Deconstructing WindowlessContext
I0406 18:01:11.761547 174962 WindowlessContext.cpp:245] Deconstructing GL context
Process ForkServerProcess-4:
Traceback (most recent call last):
File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/utils/vector_env.py", line 193, in _worker_env
observations = env.reset()
File "/home/zyj/vln/Object-Goal-Navigation/agents/sem_exp.py", line 62, in reset
obs, info = super().reset()
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/objectgoal_env.py", line 329, in reset
obs = self.load_new_episode()
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/objectgoal_env.py", line 106, in load_new_episode
goal_name = episode["goal_name"]
KeyError: 'goal_name'
I0406 18:01:11.762240 174962 Simulator.cpp:39] Deconstructing Simulator
I0406 18:01:11.767433 174963 Renderer.cpp:33] Deconstructing Renderer
I0406 18:01:11.767453 174963 WindowlessContext.h:16] Deconstructing WindowlessContext
I0406 18:01:11.767457 174963 WindowlessContext.cpp:245] Deconstructing GL context
Process ForkServerProcess-5:
Traceback (most recent call last):
File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/utils/vector_env.py", line 193, in _worker_env
observations = env.reset()
File "/home/zyj/vln/Object-Goal-Navigation/agents/sem_exp.py", line 62, in reset
obs, info = super().reset()
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/objectgoal_env.py", line 329, in reset
obs = self.load_new_episode()
File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/objectgoal_env.py", line 106, in load_new_episode
goal_name = episode["goal_name"]
KeyError: 'goal_name'
I0406 18:01:11.768168 174963 Simulator.cpp:39] Deconstructing Simulator
Traceback (most recent call last):
File "main.py", line 697, in
Does anyone face the same question?How can I solve this problem? Thank you .This problem "KeyError: 'goal_name' " just exists in the eval stage not exists in training stage.