colab‘s project can't run
Tuziking opened this issue · 5 comments
when I run the project in colab, the error's occurred in the process:(It's the error message)
Processing ./freqencoder
Preparing metadata (setup.py) ... done
Building wheels for collected packages: freqencoder
error: subprocess-exited-with-error
![C0~2 L`A)`%Q%H8E00GYZ$8](https://github.com/ashawkey/RAD-NeRF/assets/108811704/f5a48471-e245-4b2b-9963-202413061ffb)
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for freqencoder (setup.py) ... error
ERROR: Failed building wheel for freqencoder
Running setup.py clean for freqencoder
Failed to build freqencoder
ERROR: Could not build wheels for freqencoder, which is required to install pyproject.toml-based projects
Processing ./shencoder
Preparing metadata (setup.py) ... done
I solve this error on Colab by changing std=c++14 to std=c++17 in the setup.py (line 8&14) and backend.py (line 7&13) inside freqencoder folder.
Same operation for gridencode, shencoder, raymarching and ! bash scripts/install_ext.sh
will work
@DDATT @Tuziking
-it doesn't work for me.
-This is ERROR:
Processing ./freqencoder
Preparing metadata (setup.py) ... done
Building wheels for collected packages: freqencoder
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for freqencoder (setup.py) ... error
ERROR: Failed building wheel for freqencoder
Running setup.py clean for freqencoder
Failed to build freqencoder
ERROR: Could not build wheels for freqencoder, which is required to install pyproject.toml-based projects
Processing ./shencoder
Preparing metadata (setup.py) ... done
Building wheels for collected packages: shencoder
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for shencoder (setup.py) ... error
ERROR: Failed building wheel for shencoder
Running setup.py clean for shencoder
Failed to build shencoder
ERROR: Could not build wheels for shencoder, which is required to install pyproject.toml-based projects
Processing ./gridencoder
Preparing metadata (setup.py) ... done
Building wheels for collected packages: gridencoder
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for gridencoder (setup.py) ... error
ERROR: Failed building wheel for gridencoder
Running setup.py clean for gridencoder
Failed to build gridencoder
ERROR: Could not build wheels for gridencoder, which is required to install pyproject.toml-based projects
Processing ./raymarching
Preparing metadata (setup.py) ... done
Building wheels for collected packages: raymarching-face
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for raymarching-face (setup.py) ... error
ERROR: Failed building wheel for raymarching-face
Running setup.py clean for raymarching-face
Failed to build raymarching-face
ERROR: Could not build wheels for raymarching-face, which is required to install pyproject.toml-based projects
-Do you have any solution?
I
solved the problem, just need to run the runtime again with gpu
I solve this error on Colab by changing std=c++14 to std=c++17 in the setup.py (line 8&14) and backend.py (line 7&13) inside freqencoder folder. Same operation for gridencode, shencoder, raymarching and
! bash scripts/install_ext.sh
will work↳
I have the same problem.
When I ran 'bash scripts/install_ext.sh' command,
it was logging a lot of errors and I couldn't find the exact reason.
Please tell me how to modify it?
Thanks.
I solved the problem, just need to run the runtime again with gpu
do i need to restart the run time and run the commands