sfchng / Gaussian-Activated-Radiance-Fields

[ECCV 2022 Oral] GARF: Gaussian Activated Radiance Fields for High Fidelity Reconstruction & Pose Estimation
https://sfchng.github.io/garf/
110 stars 2 forks source link

RuntimeError #8

Open hahazhar opened 6 months ago

hahazhar commented 6 months ago

I am encountering the following error on my conda environment

    raise RuntimeError("Cowardly refusing to serialize non-leaf tensor which requires_grad, "
RuntimeError: Cowardly refusing to serialize non-leaf tensor which requires_grad, since autograd does not support crossing process boundaries.  If you just want to transfer the data, call detach() on the tensor before serializing (e.g., putting it on the queue).
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\e0309726\Anaconda3\envs\nerf-env\lib\multiprocessing\spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "C:\Users\e0309726\Anaconda3\envs\nerf-env\lib\multiprocessing\spawn.py", line 126, in _main
    self = reduction.pickle.load(from_parent)
EOFError: Ran out of input
[W ..\torch\csrc\CudaIPCTypes.cpp:21] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]

I am using the versions recommended by the authors. Is there something I have to modify within the code provided ?

Edit: could you let me know which version of python was used ? thank you!