Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process 1 terminated with the following error #49

Open
shuimoqingyin opened this issue Nov 15, 2022 · 1 comment
Open

Process 1 terminated with the following error #49

shuimoqingyin opened this issue Nov 15, 2022 · 1 comment

Comments

@shuimoqingyin
Copy link

shuimoqingyin commented Nov 15, 2022

2022-11-18 23:46:13,697 [INFO] root: tat_training_Truck step: 0 resolution: 1.000000 level_0/loss: 0.064675 level_0/pnsr: 11.892565 level_1/loss: 0.064430 level_1/pnsr: 11.909071 iter_time: 0.250360
Exception in thread Thread-1:
Traceback (most recent call last):
File "//anaconda3/envs/nerfplusplus/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/
/anaconda3/envs/nerfplusplus/lib/python3.6/site-packages/tensorboardX/event_file_writer.py", line 202, in run
data = self._queue.get(True, queue_wait_duration)
File "//anaconda3/envs/nerfplusplus/lib/python3.6/multiprocessing/queues.py", line 108, in get
res = self._recv_bytes()
File "/
/anaconda3/envs/nerfplusplus/lib/python3.6/multiprocessing/connection.py", line 216, in recv_bytes
buf = self._recv_bytes(maxlength)
File "//anaconda3/envs/nerfplusplus/lib/python3.6/multiprocessing/connection.py", line 407, in _recv_bytes
buf = self._recv(4)
File "/
/anaconda3/envs/nerfplusplus/lib/python3.6/multiprocessing/connection.py", line 383, in _recv
raise EOFError
EOFError

Traceback (most recent call last):
File "ddp_train_nerf.py", line 604, in
train()
File "ddp_train_nerf.py", line 599, in train
join=True)
File "//anaconda3/envs/nerfplusplus/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 200, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/
/anaconda3/envs/nerfplusplus/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 158, in start_processes
while not context.join():
File "/~~/anaconda3/envs/nerfplusplus/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 119, in join
raise Exception(msg)
Exception:

-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "//anaconda3/envs/nerfplusplus/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap
fn(i, *args)
File "/
/nerfplusplus-master/ddp_train_nerf.py", line 488, in ddp_train_nerf
idx = what_val_to_log % len(val_ray_samplers)
ZeroDivisionError: integer division or modulo by zero

how to realise the problem,could you help me

@shuimoqingyin shuimoqingyin changed the title IndexError: list index out of range Process 1 terminated with the following error Nov 18, 2022
@CYGG1123
Copy link

You can refer to #2 to solve your problem, or just edit the argument from "validation" to "test" like below:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants