Closed dongxinfeng1 closed 6 months ago
You can run the following command in the directory where run_nerf.py
is located: bash run_r2r/nerf.bash train 2345
for pre-training.
Additionally, due to the enormous size of the data from 900 scenes, loading speed can be significantly slow, which might hinder code debugging. You can try modifying if count == 5: break
in habitat_extensions/task.py
to adjust the number of scenes loaded for quicker code debugging.
Dear author: When I try to run "run_nerf.py", It shows the following problems: " File "/home/user/dxf/HNR-VLN-main1/habitat-lab/habitat/core/embodied_task.py", line 275, in _init_entities task=self, File "/home/user/dxf/HNR-VLN-main1/habitat-lab/habitat/tasks/vln/vln.py", line 60, in init self.observation_space = spaces.Discrete(0) File "/home/user/anaconda3/envs/hvln37/lib/python3.7/site-packages/gym/spaces/discrete.py", line 36, in init assert n > 0, "n (counts) have to be positive" AssertionError: n (counts) have to be positive"
and
" buf = self.recv_bytes() File "/home/user/anaconda3/envs/hvln37/lib/python3.7/multiprocessing/connection.py", line 216, in recv_bytes buf = self._recv_bytes(maxlength) File "/home/user/anaconda3/envs/hvln37/lib/python3.7/multiprocessing/connection.py", line 407, in _recv_bytes buf = self._recv(4) File "/home/user/anaconda3/envs/hvln37/lib/python3.7/multiprocessing/connection.py", line 379, in _recv chunk = read(handle, remaining) ConnectionResetError: [Errno 104] Connection reset by peer Exception ignored in: <function VectorEnv.del at 0x7f11486e6200> Traceback (most recent call last): File "/home/user/dxf/HNR-VLN-main1/habitat-lab/habitat/core/vector_env.py", line 588, in del self.close()",