Meet some problems related to nvdiffrast when exporting meshes
snowflakewang opened this issue · comments
Hello, thank you for your brilliant work! I am running some cases based on your code. The first 3 stages (NeuS & NeRF, Geometry, and Texture) went well. But when exporting meshes, I meet the problem:
[F glutil.cpp:338] eglInitialize() failed
Seems that it is related to nvdiffrast. I tried some solutions from the Internet but they did not work. In the .yaml file:
renderer_type: "nvdiff-rasterizer"
renderer:
context_type: cuda
So I have used dr.RasterizeCudaContext instead of dr.RasterizeGLContext.
Looking forward to your reply, thanks a lot :)
Hi, did you try system.exporter.context_type=cuda
?
Thanks a lot. I ran the command:
python launch.py --config configs/dreamcraft3d-mesh.yaml --export system.prompt_processor.prompt="$prompt" data.image_path="$image_path" system.exporter_type=mesh-exporter system.exporter.context_type="cuda" system.geometry_convert_from="$ckpt"
Your solution works me! Many thanks to you!!! :)