Giter Club home page Giter Club logo

Comments (4)

bluestyle97 avatar bluestyle97 commented on June 16, 2024

We cannot provide any help since there is not enough information.

from instantmesh.

huahai2022 avatar huahai2022 commented on June 16, 2024

Traceback (most recent call last):
File "/home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2100, in _run_ninja_build
subprocess.run(
File "/home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

RuntimeError: Error building extension 'nvdiffrast_plugin': [1/11] c++ -MMD -MF common.o.d -DTORCH_EXTENSION_NAME=nvdiffrast_plugin -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -isystem /home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/torch/include -isystem /home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/torch/include/TH -isystem /home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/torch/include/THC -isystem /home/zhangzhilong/tools/anaconda/envs/instantmesh/include -isystem /home/zhangzhilong/tools/anaconda/envs/instantmesh/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -DNVDR_TORCH -c /home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/nvdiffrast/common/common.cpp -o common.o
FAILED: common.o

In file included from /home/zhangzhilong/tools/anaconda/envs/instantmesh/include/driver_types.h:83,
from /home/zhangzhilong/tools/anaconda/envs/instantmesh/include/builtin_types.h:59,
from /home/zhangzhilong/tools/anaconda/envs/instantmesh/include/cuda_runtime.h:90,
from /home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/nvdiffrast/common/common.cpp:9:
/usr/include/limits.h:124:26: 错误:没有包含路径可供搜索 limits.h

感谢解答

from instantmesh.

huahai2022 avatar huahai2022 commented on June 16, 2024

Traceback (most recent call last):
File "/home/zhangzhilong/project/instantmesh/InstantMesh/app.py", line 101, in
model.init_flexicubes_geometry(device, fovy=30.0)
File "/home/zhangzhilong/project/instantmesh/InstantMesh/src/models/lrm_mesh.py", line 79, in init_flexicubes_geometry
renderer = NeuralRender(device, camera_model=camera)
File "/home/zhangzhilong/project/instantmesh/InstantMesh/src/models/geometry/render/neural_render.py", line 73, in init
self.ctx = dr.RasterizeCudaContext(device=device)
File "/home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/nvdiffrast/torch/ops.py", line 177, in init
self.cpp_wrapper = _get_plugin().RasterizeCRStateWrapper(cuda_device_idx)
File "/home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/nvdiffrast/torch/ops.py", line 118, in _get_plugin
torch.utils.cpp_extension.load(name=plugin_name, sources=source_paths, extra_cflags=opts, extra_cuda_cflags=opts+['-lineinfo'], extra_ldflags=ldflags, with_cuda=True, verbose=False)
File "/home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1308, in load
return _jit_compile(
File "/home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1710, in _jit_compile
_write_ninja_file_and_build_library(
File "/home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1823, in _write_ninja_file_and_build_library
_run_ninja_build(
File "/home/zhangzhilong/tools/anaconda/envs/instantmesh/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2116, in _run_ninja_build
raise RuntimeError(message) from e

if IS_FLEXICUBES:
model.init_flexicubes_geometry(device, fovy=30.0)我定位到了这行代码出错
感谢解答

from instantmesh.

huahai2022 avatar huahai2022 commented on June 16, 2024

We cannot provide any help since there is not enough information.

我提供了上面的信息,看起来是flexicubes的问题,有什么解决方案吗,可以帮助一下吗

from instantmesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.