Comments (5)
when I use cuda 11.3 I can build this success,but compile torch-cuda-nn failed.
from nerf2mesh.
2 errors detected in the compilation of "D:/Project/Python/nerf2mesh/raymarching/src/raymarching.cu".
raymarching.cu
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\torch\utils\cpp_extension.py", line 1808, in _run_ninja_build
subprocess.run(
File "D:\Application\Anaconda\envs\nerf22mesh\lib\subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\Project\Python\nerf2mesh\raymarching\setup.py", line 44, in
setup(
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools_init_.py", line 107, in setup
return distutils.core.setup(**attrs)
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools_distutils\core.py", line 185, in setup
return run_commands(dist)
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools\dist.py", line 1234, in run_command
super().run_command(command)
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools\command\build_ext.py", line 84, in run
_build_ext.run(self)
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run
self.build_extensions()
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\torch\utils\cpp_extension.py", line 765, in build_extensions
build_ext.build_extensions(self)
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools_distutils\command\build_ext.py", line 467, in build_extensions
self._build_extensions_serial()
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools_distutils\command\build_ext.py", line 493, in _build_extensions_serial
self.build_extension(ext)
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension
_build_ext.build_extension(self, ext)
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\setuptools_distutils\command\build_ext.py", line 548, in build_extension
objects = self.compiler.compile(
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\torch\utils\cpp_extension.py", line 738, in win_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\torch\utils\cpp_extension.py", line 1487, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "D:\Application\Anaconda\envs\nerf22mesh\lib\site-packages\torch\utils\cpp_extension.py", line 1824, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
from nerf2mesh.
window+cuda11.6+pytorch11.2+visual studio2019 16.9.26
from nerf2mesh.
I had the same problem
windows11+cuda11.6+pytorch1.12.1+visual studio2019 failed
windows11+cuda11.3+pytorch1.11+visual studio2019 failed
windows11+cuda11.6+pytorch1.12.1+visual studio2022 failed
windows11+cuda11.3+pytorch1.11+visual studio2022 failed
ubuntu22+cuda11.6+pytorch12.0 failed
from nerf2mesh.
use
cmdclass={'build_ext': BuildExtension.with_options(use_ninja=False),}
to replace
cmdclass={"build_ext": BuildExtension,}
in setup.py
hope this will help you to install raymarching
from nerf2mesh.
Related Issues (20)
- getting segmentation fault (core dumped) at stage 1 HOT 1
- Support fo Semantic-Nerf or other similar pipelines to have mesh output.
- Fail to get stage0: COLMAP HOT 1
- (WSL)Saving mesh_stage0——killed HOT 2
- Training failed for high number of iterations in stage 0 with default settings in sdf mode
- 'TCNN_hashgrid' object has no attribute 'grad_total_variation' if I use "--tcnn"
- llff_fern dataset get error width and height must be divisible by 8
- 我在太阳光下,拍摄一段视频,然后进行重建,结果不理想
- 从神经网络模型生成Mesh
- core dumpe HOT 1
- can not reach the proposed PSNR
- [F glutil.cpp:338] eglInitialize() failed错误 HOT 6
- OpenGL 不支持 HOT 1
- RuntimeError: width and height must be divisible by 8 HOT 2
- Only generated two ply files,but stage 1 need 5
- Inference
- Guide of using sdf mode HOT 1
- OOM Problem
- Mesh quality from stage0 is poor
- Install raymarching raise a LINK : fatal error LNK1181
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerf2mesh.