VAST-AI-Research / TripoSR

MIT License
4.6k stars 532 forks source link

Can't export model as .glb #102

Closed andytriboletti closed 6 months ago

andytriboletti commented 6 months ago

When I run python run.py featured_image.png --output-dir output/ --bake-texture --device cpu --model-save-format glb

I get a .glb file and a texture file. When I import the file in blender, I get a syntax error with json

Bad glTF: json error: Expecting value: line 1 column 1 (char 0)

andytriboletti commented 6 months ago

I am able to use the gradio app to do this, but not run.py

andytriboletti commented 6 months ago

Using this line works, the texture is present in the .glb model file when I open it. The --bake-texture command doesn't work with glb I guess. python run.py featured_image.png --output-dir output/ --device cuda:0 --model-save-format glb