ForMyCat / SparseGS

Codebase for SparseGS paper
Other
103 stars 11 forks source link

about stable diffusion #13

Closed trainable closed 2 months ago

trainable commented 3 months ago

Nice work! I have a question about change stable diffusion model. if i want to change model for my own trained model how can i change the code? 屏幕截图 2024-06-26 194557 File "D:\Miniconda3\envs\3dfs\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(*args, *kwargs) File "D:\Miniconda3\envs\3dfs\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 702, in from_pretrained cached_folder = cls.download( File "D:\Miniconda3\envs\3dfs\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(args, **kwargs) File "D:\Miniconda3\envs\3dfs\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 1300, in download info = model_info(pretrained_model_name, token=token, revision=revision) File "D:\Miniconda3\envs\3dfs\lib\site-packages\huggingface_hub\utils_validators.py", line 106, in _inner_fn validate_repo_id(arg_value) File "D:\Miniconda3\envs\3dfs\lib\site-packages\huggingface_hub\utils_validators.py", line 160, in validate_repo_id raise HFValidationError( huggingfacehub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'guidance/model/UAV.safetensors'.

ForMyCat commented 3 months ago

You are modifying the right place but sorry I have no idea what's causing your error. It might be from problems in your diffusion model checkpoint. Maybe you can check out the Load Pipeline section of the diffuser Documentation.