AiuniAI / Unique3D

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

when i run python app/gradio_local.py --port 7860 #16

Open libai-lab opened 5 months ago

libai-lab commented 5 months ago

raceback (most recent call last): File "/data/Unique3D/app/gradio_local.py", line 20, in from app.gradio_3dgen import create_ui as create_3d_ui File "/data/Unique3D/./app/gradio_3dgen.py", line 7, in from app.custom_models.normal_prediction import predict_normals File "/data/Unique3D/./app/custom_models/normal_prediction.py", line 10, in trainer, pipeline = load_pipeline(training_config, checkpoint_path) File "/data/Unique3D/./app/custom_models/utils.py", line 56, in load_pipeline trainers, configurable_unet = init_trainers(training_config, weight_dtype, extras) File "/data/Unique3D/./app/custom_models/utils.py", line 21, in init_trainers configurable_unet = ConfigurableUNet2DConditionModel(init_config, weight_dtype) File "/data/Unique3D/./custum_3d_diffusion/custum_modules/unifield_processor.py", line 142, in init self.set_config(init_config) File "/data/Unique3D/./custum_3d_diffusion/custum_modules/unifield_processor.py", line 205, in set_config self.unet: UnifieldWrappedUNet = unet_type.from_pretrained( File "/data/miniconda/envs/torch/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, *kwargs) File "/data/miniconda/envs/torch/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 719, in from_pretrained model_file = _get_model_file( File "/data/miniconda/envs/torch/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(args, **kwargs) File "/data/miniconda/envs/torch/lib/python3.10/site-packages/diffusers/utils/hub_utils.py", line 391, in _get_model_file raise EnvironmentError( OSError: Can't load the model for 'lambdalabs/sd-image-variations-diffusers'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'lambdalabs/sd-image-variations-diffusers' is the correct path to a directory containing a file named diffusion_pytorch_model.bin

jtydhr88 commented 5 months ago

have you download the ckpt file and unzip?

milkmeat commented 2 months ago

If I manually download model files for 'lambdalabs/sd-image-variations-diffusers', where should I put it? Thank you!