xxlong0 / Wonder3D

Single Image to 3D using Cross-Domain Diffusion for 3D Generation
https://www.xxlong.site/Wonder3D/
GNU Affero General Public License v3.0
4.8k stars 385 forks source link

当我在windows运行bash run_test.sh时,出现下面提示 #93

Open Fone520 opened 11 months ago

Fone520 commented 11 months ago

(wonder3d) PS D:\ProgramData\miniconda3\envs\wonder3d\Wonder3D> bash run_test.sh A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton' {'pretrained_model_name_or_path': 'lambdalabs/sd-image-variations-diffusers', 'pretrained_unet_path': './ckpts/', 'revision': None, 'validation_dataset': {'root_dir': './example_images', 'num_views': 6, 'bg_color': 'white', 'img_wh': [256, 256], 'num_validation_samples': 1000, 'crop_size': 192, 'filepaths': ['owl.png']}, 'save_dir': 'outputs/', 'pred_type': 'joint', 'seed': 42, 'validation_batch_size': 1, 'dataloader_num_workers': 64, 'local_rank': -1, 'pipe_kwargs': {'camera_embedding_type': 'e_de_da_sincos', 'num_views': 6}, 'validation_guidance_scales': [3.0], 'pipe_validation_kwargs': {'eta': 1.0}, 'validation_grid_nrow': 6, 'unet_from_pretrained_kwargs': {'camera_embedding_type': 'e_de_da_sincos', 'projection_class_embeddings_input_dim': 10, 'num_views': 6, 'sample_size': 32, 'zero_init_conv_in': False, 'zero_init_camera_projection': False}, 'num_views': 6, 'camera_embedding_type': 'e_de_da_sincos', 'enable_xformers_memory_efficient_attention': True} Traceback (most recent call last): File "D:\ProgramData\miniconda3\Lib\site-packages\huggingface_hub\utils_errors.py", line 261, in hf_raise_for_status response.raise_for_status() File "D:\ProgramData\miniconda3\Lib\site-packages\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/lambdalabs/sd-image-variations-diffusers/resolve/main/preprocessor_config.json

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\ProgramData\miniconda3\Lib\site-packages\transformers\utils\hub.py", line 409, in cached_file resolved_file = hf_hub_download( ^^^^^^^^^^^^^^^^ File "D:\ProgramData\miniconda3\Lib\site-packages\huggingface_hub\utils_validators.py", line 118, in _inner_fn return fn(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^ File "D:\ProgramData\miniconda3\Lib\site-packages\huggingface_hub\file_download.py", line 1232, in hf_hub_download metadata = get_hf_file_metadata( ^^^^^^^^^^^^^^^^^^^^^ File "D:\ProgramData\miniconda3\Lib\site-packages\huggingface_hub\utils_validators.py", line 118, in _inner_fn return fn(args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "D:\ProgramData\miniconda3\Lib\site-packages\huggingface_hub\file_download.py", line 1608, in get_hf_file_metadata hf_raise_for_status(r) File "D:\ProgramData\miniconda3\Lib\site-packages\huggingface_hub\utils_errors.py", line 271, in hf_raise_for_status raise EntryNotFoundError(message, response) from e huggingface_hub.utils._errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-656989de-6ecac17c1bc3ea3a43e6b100;3d594437-f9c4-48ce-9181-7e4cc46a298f)

Entry Not Found for url: https://huggingface.co/lambdalabs/sd-image-variations-diffusers/resolve/main/preprocessor_config.json.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\ProgramData\miniconda3\envs\wonder3d\Wonder3D\test_mvdiffusion_seq.py", line 335, in main(cfg) File "D:\ProgramData\miniconda3\envs\wonder3d\Wonder3D\test_mvdiffusion_seq.py", line 252, in main feature_extractor = CLIPImageProcessor.from_pretrained(cfg.pretrained_model_name_or_path, subfolder="feature_extractor", revision=cfg.revision) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ProgramData\miniconda3\Lib\site-packages\transformers\image_processing_utils.py", line 161, in from_pretrained image_processor_dict, kwargs = cls.get_image_processor_dict(pretrained_model_name_or_path, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ProgramData\miniconda3\Lib\site-packages\transformers\image_processing_utils.py", line 257, in get_image_processor_dict resolved_image_processor_file = cached_file( ^^^^^^^^^^^^ File "D:\ProgramData\miniconda3\Lib\site-packages\transformers\utils\hub.py", line 454, in cached_file raise EnvironmentError( OSError: lambdalabs/sd-image-variations-diffusers does not appear to have a file named preprocessor_config.json. Checkout 'https://huggingface.co/lambdalabs/sd-image-variations-diffusers/main' for available files. Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "D:\ProgramData\miniconda3\Scripts\accelerate.exe__main__.py", line 7, in File "D:\ProgramData\miniconda3\Lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main args.func(args) File "D:\ProgramData\miniconda3\Lib\site-packages\accelerate\commands\launch.py", line 986, in launch_command simple_launcher(args) File "D:\ProgramData\miniconda3\Lib\site-packages\accelerate\commands\launch.py", line 628, in simple_launcher raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd) subprocess.CalledProcessError: Command '['D:\ProgramData\miniconda3\python.exe', 'test_mvdiffusion_seq.py', '--config', 'configs/mvdiffusion-joint-ortho-6views.yaml']' returned non-zero exit status 1.

huggingface上面确实没有preprocessor_config.json这个文件

xxlong0 commented 11 months ago

你应该挂一个vpn

Fone520 commented 11 months ago

挂了也不行哦

你应该挂一个vpn

Onion1024 commented 1 month ago

https://hf-mirror.com/lambdalabs/sd-image-variations-diffusers/tree/main 国内有一个huggingface的镜像网站,这个是可以打开的

xzj-ops commented 1 month ago

https://hf-mirror.com/lambdalabs/sd-image-variations-diffusers/tree/main 国内有一个huggingface的镜像网站,这个是可以打开的

请问如果在train中遇到上面问题该在哪里将huggingface更改为 镜像网站