ashawkey / stable-dreamfusion

Text-to-3D & Image-to-3D & Mesh Exportation with NeRF + Diffusion.
Apache License 2.0
7.99k stars 710 forks source link

how to use the latest zero123-xl.ckpt? #332

Open HaoyangHuang opened 11 months ago

HaoyangHuang commented 11 months ago

could you tell me how to use the latest zero123-xl.ckpt to test the zero123? I could not find any command line that using ckpt file... thanks!

johnwon2007 commented 11 months ago

if you have the latest code, you are using zero123-xl.ckpt look at line 160 from the main.py also guidance/zero123_utils.py line 73

HaoyangHuang commented 11 months ago

if you have the latest code, you are using zero123-xl.ckpt look at line 160 from the main.py also guidance/zero123_utils.py line 73

ok, thanks! But what's the command I should use in the terminal?

johnwon2007 commented 11 months ago

so basicly you use zero123 when you run image to 3D generation. try reading the codes in readme file aboout image to 3D generation. or you can try seomthing like this.

python main.py -O --image data/teddy_rgba.png --workspace teddy --iters 5000

or

python main.py -O --image image_rgba.png --workspace trial_image --iters 5000

HaoyangHuang commented 11 months ago

so basicly you use zero123 when you run image to 3D generation. try reading the codes in readme file aboout image to 3D generation. or you can try seomthing like this.

python main.py -O --image data/teddy_rgba.png --workspace teddy --iters 5000

or

python main.py -O --image image_rgba.png --workspace trial_image --iters 5000

when I use the command like 'python main.py -O --image data/teddy_rgba.png --workspace teddy --iters 5000', actually I am doing the inference progress with zero123-xl.ckpt? Not for training right? I just wanna know how to inference with zero123-xl.ckpt for some images..

Thank you!!