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

Which steps to ignore for shape generation only? #53

Open
miomate opened this issue Jan 28, 2025 · 1 comment
Open

Which steps to ignore for shape generation only? #53

miomate opened this issue Jan 28, 2025 · 1 comment

Comments

@miomate
Copy link

miomate commented Jan 28, 2025

Hello,

I have an AMD card and I learned following from a nice member here:
"The shape generation could run on AMD card. The texture generation need some CUDA extension which is Nvidia only."

Which steps should I ignore from the installation manual if I only want generate shapes?

  • I have Python 3.12.6
  • Pytorch: Computer Platform: CPU. I run "pip3 install torch torchvision torchaudio", successfully install,even though warning:
  WARNING: The script isympy.exe is installed in 'C:\Users\XXX\AppData\Roaming\Python\Python312\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts f2py.exe and numpy-config.exe are installed in 'C:\Users\XXX\AppData\Roaming\Python\Python312\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts convert-caffe2-to-onnx.exe, convert-onnx-to-caffe2.exe, torchfrtrace.exe and torchrun.exe are installed in 'C:\Users\XXX\AppData\Roaming\Python\Python312\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Then it is time to run in folder of "Hunyuan3D-2-main"
pip install -r requirements.txt
I think it run successfully but with few warnings like above.

What is next?

# for texture
cd hy3dgen/texgen/custom_rasterizer
python3 setup.py install
cd ../../..
cd hy3dgen/texgen/differentiable_renderer
python3 setup.py install

Do I ignore this, because it is for texture generation?
What do I next?
Gradio App? Hunyuan3D-DiT? Gradio App? API Server?
I have blender installed, but I don't understand how I run the blender plugin.

Do I need one of this?

Hunyuan3D-DiT-v2-0
Hunyuan3D-Paint-v2-0
Hunyuan3D-Delight-v2-0

Thank you very much.

@YanWenKun
Copy link
Contributor

@miomate I guess you can just skip the steps on # for texture. It's compiling packages for texture generation and requires NVIDIA compiler. (I don't have an AMD card at hand now so I can't verify this)
And you can start the Gradio App to start the web app and visit http://localhost:8080/

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

2 participants