Object-Goal-Navigation icon indicating copy to clipboard operation
Object-Goal-Navigation copied to clipboard

keyerror when eval the pretrained model provided by the offical

Open zyjzxy9 opened this issue 3 months ago • 0 comments

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 main() File "main.py", line 84, in main obs, infos = envs.reset() File "/home/zyj/vln/Object-Goal-Navigation/envs/init.py", line 24, in reset obs, info = self.venv.reset() File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/utils/vector_env.py", line 330, in reset results.append(read_fn()) File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/connection.py", line 250, in recv buf = self._recv_bytes() File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes buf = self._recv(4) File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/connection.py", line 383, in _recv raise EOFError EOFError Exception ignored in: <function VectorEnv.del at 0x7f1d5c804820> Traceback (most recent call last): File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/utils/vector_env.py", line 539, in del self.close() File "/home/zyj/vln/Object-Goal-Navigation/envs/habitat/utils/vector_env.py", line 403, in close read_fn() File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/connection.py", line 250, in recv buf = self._recv_bytes() File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/connection.py", line 414, in _recv_bytes buf = self._recv(4) File "/home/zyj/anaconda3/envs/semexp/lib/python3.8/multiprocessing/connection.py", line 383, in _recv raise EOFError EOFError:

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.

zyjzxy9 avatar Apr 06 '24 10:04 zyjzxy9