Open 565ee opened 2 years ago
You can change the rasterizer standard to pytorch3d. Then the problem will be solved.
Hello, I also encountered the same problem, did you solve it?
You can change the rasterizer standard to pytorch3d. Then the problem will be solved.
Hello, what should I do?
You can change the rasterizer standard to pytorch3d. Then the problem will be solved.
Hello, what should I do?
I solved it by remove the "extra_cuda_cflags = ['-std=c++14', '-ccbin=$$(which gcc-7)']" on line 41 in renderer.py file
I make it work... first of all update your dependecies,
in install_conda.sh conda create -n $CONDA_ENV_NAME python=3.11
in requirements.txt (let pip resolve version)
pip install -r requirements.txt
numpy scipy chumpy scikit-image opencv-python PyYAML torch torchvision face-alignment kornia yacs ninja
Now fix error in ninja -v ==> ninja --version xed /home/'your user here...'/anaconda3/envs/pixie-env/lib/python3.11/site-packages/torch/utils/cpp_extension.py
When you get the error -std=c++14', '-ccbin=$$(which gcc-7)' go to the file containing the error and change values for, finanly "extra_cuda_cflags = ['-std=c++17', '-ccbin=$$(which gcc-11)']"
be sure nvcc is install and is at version 11.5 (cuda 12) for me all it work. (but it's a pain to fix all those error)
When running DECA, it automatically compiles standard_rasterize_cuda, as indicated in render.py at line 39. By default, it uses gcc-7. Therefore, sometimes you need to change it to which gcc.
when i run python demos/demo_reconstruct.py -i TestSamples/examples --saveDepth True --saveObj True
i have /root/.cache/torch_extensions/standard_rasterize_cuda/standard_rasterize_cuda.o
how can i get standard_rasterize_cuda.so