threestudio-project / threestudio

A unified framework for 3D content generation.
Apache License 2.0
6.32k stars 480 forks source link

Does Magic123 and Zero-1-to-3 support mesh export? #418

Closed haoz19 closed 9 months ago

haoz19 commented 9 months ago

I use this python launch.py --config configs/magic123-refine-sd.yaml --export --gpu 0 resume=/home/ubuntu/threestudio/outputs/magic123-refine-sd/camel_rgba.png-a_camel@20231219-061714/ckpts/last.ckptsystem.exporter_type=mesh-exporter system.geometry.isosurface_method=mc-cpu system.geometry.isosurface_resolution=256

But it shows: omegaconf.errors.MissingMandatoryValue: Missing mandatory value: tag full_key: tag object_type=dict

Could someone tell me how to export mesh for Magic123 and Zero123? Many Thanks!

haoz19 commented 9 months ago

This works for me: python launch.py --config configs/magic123-refine-sd.yaml data.image_path=load/images/camel_rgba.png system.prompt_processor.prompt="a camel" system.geometry_convert_from=outputs/magic123-coarse-sd/camel_rgba.png-a_camel@20231220-001548/ckpts/last.ckpt system.exporter.context_type=cuda system.renderer.context_type=cuda --export --gpu 0 resume=outputs/magic123-refine-sd/camel_rgba.png-a_camel@20231219-061714/ckpts/last.ckpt system.exporter_type=mesh-exporter