Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

views_to_mesh.py exits without printing any exception right after "LRM forward time:" #20

Open
realisticdreamer114514 opened this issue Nov 7, 2024 · 5 comments

Comments

@realisticdreamer114514
Copy link

I tried running the script with python main.py --image_prompt [valid image path here] --save_folder ./outputs/test/ --max_faces_num 90000 --do_texture_mapping --save_memory and the output folder only has 2 images, 1 transparent and 1 multi-view image. It apparently didn't do sparse-view reconstruction and exited without printing any errors. What do I miss?

@realisticdreamer114514
Copy link
Author

realisticdreamer114514 commented Nov 7, 2024

OK, running it again in the gradio UI and the console ends in
./outputs/app_output/0
=====> LRM forward time: 168.7118854522705
and nothing else.
It shows up in the UI as a big red "error" in the tabs after multi-view (obj and glb tabs), which also happened in the HF demo hosted by gokaygokay (https://huggingface.co/spaces/gokaygokay/Hunyuan3D-1.0) I tried before cloning your repo. Doesn't seem like a user problem (I use Windows 10)

@realisticdreamer114514
Copy link
Author

realisticdreamer114514 commented Nov 8, 2024

With my 6GB GPU it can complete the 'image to view' step with 12GB (~6GB VRAM, ~6GB RAM) in about 35min (standard model), and then it would exit without any OOM warning when the 'views to mesh' step should start. (32GB RAM total so 16GB "shared VRAM") Not sure if I'm trying to pull the impossible with my hardware constraints

@realisticdreamer114514
Copy link
Author

realisticdreamer114514 commented Nov 9, 2024

Tested infer/views_to_mesh.py after the new commit, same behavior, at least I'm sure the bug is at this step and it isn't a VRAM issue (I can run infer/image_to_views.py, the part with highest VRAM requirement, slowly)

@realisticdreamer114514 realisticdreamer114514 changed the title No 3d model in output views_to_mesh.py exits without printing any exception right after "LRM forward time:" Nov 9, 2024
@Quantuman134
Copy link

meet the same problem

@1999XIAOZHANG
Copy link

遇到同样的问题

你是怎么解决的?我也遇到了这个 问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants