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

Clear Install - BUG at start #1

Open
ffdown opened this issue Feb 15, 2023 · 3 comments
Open

Clear Install - BUG at start #1

ffdown opened this issue Feb 15, 2023 · 3 comments

Comments

@ffdown
Copy link

ffdown commented Feb 15, 2023

Error loading script: postprocessing_facerestore.py
Traceback (most recent call last):
  File "E:\AI\SD\stable-diffusion-webui\modules\scripts.py", line 205, in load_scripts
    module = script_loading.load_module(scriptfile.path)
  File "E:\AI\SD\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
    exec(compiled, module.__dict__)
  File "E:\AI\SD\stable-diffusion-webui\scripts\postprocessing_facerestore.py", line 5, in <module>
    from modules import scripts_postprocessing, gfpgan_model
ImportError: cannot import name 'scripts_postprocessing' from 'modules' (unknown location)

install in <script> or install in extension tab no difference

@butaixianran
Copy link
Owner

butaixianran commented Feb 15, 2023

Hi, scripts_postprocessing is a build-in file under modules folder. If you do not have this file, that means you failed when install stable-diffusion-webui. There are many build-in feature need this file.

This means, you don't even download stable-diffusion-webui right. Can you really run stable-diffusion-webui?

@ffdown
Copy link
Author

ffdown commented Feb 16, 2023

webui, I usually linger on everything from the moment it appeared ... strange doubts. All started give me a screen where find your checkbox

@butaixianran
Copy link
Owner

butaixianran commented Feb 16, 2023

Like I said, scripts_postprocessing is a build in file. When you download webui, it will come with it.

You do not have it, that means you download it wrong.

You can find this file in webui's official project, it's there:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/scripts_postprocessing.py

Check if this file is under your webui's modules folder.

And if you can see this extension's checkbox on webui's page, it is already running.

And if you are chinese, try not use third part package to run your webui. Run it under its own env.

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