wbhu / Tri-MipRF

Tri-MipRF: Tri-Mip Representation for Efficient Anti-Aliasing Neural Radiance Fields, ICCV'23 (Oral, Best Paper Finalist)
https://wbhu.github.io/projects/Tri-MipRF
450 stars 13 forks source link

AssertionError: can only test a child process #12

Closed ZWEQHLWY closed 11 months ago

ZWEQHLWY commented 11 months ago

when i run the script of chair,everything is ok。but in drums i meet this erro,and the PSNR can not achieve the normal score。Is this error causing the impact。 Traceback (most recent call last): File "/root/miniconda3/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1466, in del self._shutdown_workers() File "/root/miniconda3/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1449, in _shutdown_workers if w.is_alive(): File "/root/miniconda3/lib/python3.8/multiprocessing/process.py", line 160, in is_alive assert self._parent_pid == os.getpid(), 'can only test a child process' AssertionError: can only test a child process Exception ignored in: <function _MultiProcessingDataLoaderIter.del at 0x7f7e6ba823a0> Traceback (most recent call last): File "/root/miniconda3/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1466, in del self._shutdown_workers() File "/root/miniconda3/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1449, in _shutdown_workers if w.is_alive(): File "/root/miniconda3/lib/python3.8/multiprocessing/process.py", line 160, in is_alive assert self._parent_pid == os.getpid(), 'can only test a child process' AssertionError: can only test a child process 100%|███████████████████████████████████████████████████████| 800/800 [01:47<00:00, 7.47it/s] 2023-10-12 09:13:52.710 | INFO | trainer.trainer:eval:186 - ==> Evaluation done 2023-10-12 09:13:52.711 | INFO | utils.writer:write_scalar_dicts:79 - num_alive_ray:64939.67125 rendering_samples_actual:24635.15625 num_rays:375.0 PSNR:28.454062707424164

looking forward to your reply

wbhu commented 11 months ago

The AssertionError seems a bug (https://discuss.pytorch.org/t/error-while-multiprocessing-in-dataloader/46845/8), but it should not influence the results, The PSNR of drums in multi-scale blender dataset should be ~28.55 as reported in Tab.4 of the paper (supp)

ZWEQHLWY commented 11 months ago

The AssertionError seems a bug (https://discuss.pytorch.org/t/error-while-multiprocessing-in-dataloader/46845/8), but it should not influence the results, The PSNR of drums in multi-scale blender dataset should be ~28.55 as reported in Tab.4 of the paper (supp)

Thanks