Jittor / JNeRF

JNeRF is a NeRF benchmark based on Jittor. JNeRF re-implemented instant-ngp and achieved same performance with original paper.
Apache License 2.0
640 stars 74 forks source link

运行时Failed reason:[f 1013 20:23:11.079061 16 helper_cuda.h:128] CUDA error at /home/hstack/.local/lib/python3.10/site-packages/jittor/src/mem/allocator/cuda_host_allocator.cc:22 code=2( cudaErrorMemoryAllocation ) cudaMallocHost(&ptr, size) #76

Open wulongyong2022 opened 1 year ago

wulongyong2022 commented 1 year ago

Traceback (most recent call last): File "/home/hstack/JNeRF/tools/run_net.py", line 75, in main() File "/home/hstack/JNeRF/tools/run_net.py", line 59, in main runner = Runner() File "/home/hstack/JNeRF/python/jnerf/runner/runner.py", line 24, in init self.dataset["train"] = build_from_cfg(self.cfg.dataset.train, DATASETS) File "/home/hstack/JNeRF/python/jnerf/utils/registry.py", line 33, in build_from_cfg module = obj_cls(**args) File "/home/hstack/JNeRF/python/jnerf/dataset/dataset.py", line 48, in init self.load_data() File "/home/hstack/JNeRF/python/jnerf/dataset/dataset.py", line 158, in load_data self.image_data=jt.array(self.image_data) File "/home/hstack/.local/lib/python3.10/site-packages/jittor/init.py", line 376, in array ret = ops.array(data) RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.ops.array)).

Types of your inputs are: self = module, args = (list, ),

The function declarations are: VarHolder array__(PyObject obj)

Failed reason:[f 1013 20:23:11.079061 16 helper_cuda.h:128] CUDA error at /home/hstack/.local/lib/python3.10/site-packages/jittor/src/mem/allocator/cuda_host_allocator.cc:22 code=2( cudaErrorMemoryAllocation ) cudaMallocHost(&ptr, size)