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

help #9

Open
xingchen020622 opened this issue Dec 14, 2024 · 4 comments
Open

help #9

xingchen020622 opened this issue Dec 14, 2024 · 4 comments

Comments

@xingchen020622
Copy link

Could you please tell me if there is a folder called , or where I can download it from?xxxxx/stable-diffusion-v1-5

@zituitui
Copy link
Owner

@xingchen020622
Copy link
Author

Thank you!But Why did this problem occur after I downloaded it manually?D:\aconda\envs\DL\lib\site-packages\torchvision\transforms\v2_init_.py:54: UserWarning: The torchvision.datapoints and torchvision.transforms.v2 namespaces are still Beta. While we do not expect major breaking changes, some APIs may still change according to user feedback. Please submit any feedback you may have in this issue: pytorch/vision#6753, and you can also check out pytorch/vision#7319 to learn more about the APIs that we suspect might involve future changes. You can silence this warning by calling torchvision.disable_beta_transforms_warning().
warnings.warn(_BETA_TRANSFORMS_WARNING)
Traceback (most recent call last):
File "./scripts/reconstruction.py", line 150, in
main()
File "./scripts/reconstruction.py", line 128, in main
sd = StableDiffusionPipeline.from_pretrained(r"C:\Users\Windows\Desktop\papers\BELM-main\models--stable-diffusion-v1-5--stable-diffusion-v1-5", torch_dtype=dtype)
File "D:\aconda\envs\DL\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "D:\aconda\envs\DL\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 760, in from_pretrained
config_dict = cls.load_config(cached_folder)
File "D:\aconda\envs\DL\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "D:\aconda\envs\DL\lib\site-packages\diffusers\configuration_utils.py", line 373, in load_config
raise EnvironmentError(
OSError: Error no file named model_index.json found in directory C:\Users\Windows\Desktop\papers\BELM-main\models--stable-diffusion-v1-5--stable-diffusion-v1-5.

@zituitui
Copy link
Owner

you should point to the root folder of the downloaded /stable-diffusion-v1-5.

And I run this on Linux, not Windows, maybe some os-related code should be altered.

@xingchen020622
Copy link
Author

Thank you !!!Can I experiment with Stable Diffusion XL (SDXL) and Stable Diffusion 3.5 (SD3.5)? What parameters do I need to adjust? I’ve noticed that BELM cannot perfectly invert an image, and there are some unrealistic aspects.

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