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

DMTET issue #278

Open xaranex1 opened 1 year ago

xaranex1 commented 1 year ago

Description

RuntimeError: instance mode - pos must have shape [>0, >0, 4] 0% 0/100 [00:02<?, ?it/s]

Steps to Reproduce

my code:

%cd /content/stable-dreamfusion !python main.py -O --image /content/amulet_rgba.png --workspace trial_image6_test --test --dmtet --iters 5000 --save_mesh

Expected Behavior

Start DMTET and save result

Environment

Google Colab

xaranex1 commented 1 year ago

I have now new problem: [WARN] No checkpoint found, model randomly initialized. i did parameter --dmtet --init_with trial_image22/checkpoints/df.pth but it not start from that checkpoint

JackISODesign commented 1 year ago

I am also having this issue, did you ever fix?

zz7379 commented 1 year ago

I have now new problem: [WARN] No checkpoint found, model randomly initialized. i did parameter --dmtet --init_with trial_image22/checkpoints/df.pth but it not start from that checkpoint

maybe you should change --init_with to --init_ckpt

NguyenTriTrinh commented 1 week ago

After I removed the --fp16, this issue disappeared.