AiuniAI / Unique3D

[NeurIPS 2024] Unique3D: High-Quality and Efficient 3D Mesh Generation from a Single Image
https://wukailu.github.io/Unique3D/
MIT License
3.09k stars 248 forks source link

Windows support #114

Open Mazzaferno opened 1 week ago

Mazzaferno commented 1 week ago

Hi All,

I've followed the instructions for windows users exactly as stated, the environment setup seems to have gone well, no errors at all. (used the install_windows_win_py311_cu121.bat)

but when I try to run the command: python app/gradio_local.py --port 7860 I get the following error

Traceback (most recent call last): File "Z:\conda_envs\u3D\app\gradio_local.py", line 20, in from app.gradio_3dgen import create_ui as create_3d_ui File "Z:\conda_envs\u3D\app\gradio_3dgen.py", line 6, in from app.custom_models.mvimg_prediction import run_mvprediction File "Z:\conda_envs\u3D\app\custom_models\mvimg_prediction.py", line 8, in from app.custom_models.utils import load_pipeline File "Z:\conda_envs\u3D\app\custom_models\utils.py", line 6, in from custum_3d_diffusion import modules File "Z:\conda_envs\u3D\custum_3d_diffusion\modules.py", line 14, in from custum_3d_diffusion.trainings import base, image2mvimage_trainer, image2image_trainer File "Z:\conda_envs\u3D\custum_3d_diffusion\trainings\base.py", line 9, in from diffusers.utils import make_image_grid File "Z:\conda_envs\uni3d\Lib\site-packages\diffusers__init__.py", line 5, in from .utils import ( File "Z:\conda_envs\uni3d\Lib\site-packages\diffusers\utils__init.py", line 38, in from .dynamic_modules_utils import get_class_from_dynamic_module File "Z:\conda_envs\uni3d\Lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in from huggingface_hub import cached_download, hf_hub_download, model_info ImportError: cannot import name 'cached_download' from 'huggingface_hub' (Z:\conda_envs\uni3d\Lib\site-packages\huggingface_hub\init__.py)

I've tried installing different versions of Huggingface_Hub but this has just caused other issues to occur, I assume version 0.26.2 is the correct one to use.

anyone else have this working on windows currently?

My environment: Anaconda3 Python 3.11 Windows 10 3070Ti

Whylickspittle commented 1 week ago

pip install huggingface_hub==0.24.7 or pip install huggingface_hub==0.25.0 maybe u need to downgrade the package huggingface_hub