VAST-AI-Research / TripoSR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when increase marching cube resolution.

SunzeY opened this issue · comments

RuntimeError: numel needs to be smaller than int32_t max; otherwise, please use packed_accessor64
I want to get mesh with higher resolution, but when changing resolution to 512, I got this error. Does it support export higher resolution mesh?

meshes = model.extract_mesh(scene_codes, resolution=512)

It seems that torchmcubes will raise errors with a large marching cubes resolution (and because of this reason I set the max value in the gradio app to 320). As higher marching cubes resolutions do not bring significant improvements on geometry/texture quality, I don't plan to fix this problem. Thanks for reporting though!

It seems that torchmcubes will raise errors with a large marching cubes resolution (and because of this reason I set the max value in the gradio app to 320). As higher marching cubes resolutions do not bring significant improvements on geometry/texture quality, I don't plan to fix this problem. Thanks for reporting though!

so why when i use Tripo tool from website and i press "refine" it returns so much better quality 3D model, with better geometry and textures? "Refine" tool uses another kind of model/architecture different than used on this project?

Thanks!

I fixed this, you can try #68