stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: ModuleNotFoundError: No module named 'cleanfid.inception_torchscript'

Open suddenlag opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

(base) jhin@Jonathans-Mac-mini stable-diffusion-webui % ./run_webui_mac.sh ./run_webui_mac.sh: line 3: pyenv: command not found To make your changes take effect please reactivate your environment

EnvironmentNameNotFound: Could not find conda environment: web-ui You can list all discoverable environments with conda info --envs.

Already up to date. ./run_webui_mac.sh: line 14: +: command not found ./run_webui_mac.sh: line 15: +: command not found Traceback (most recent call last): File "/Users/jhin/Documents/stable-diffusion-webui/webui.py", line 13, in from modules import devices, sd_samplers, upscaler, extensions, localization File "/Users/jhin/Documents/stable-diffusion-webui/modules/sd_samplers.py", line 8, in import k_diffusion.sampling File "/Users/jhin/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/init.py", line 1, in from . import augmentation, config, evaluation, external, gns, layers, models, sampling, utils File "/Users/jhin/Documents/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/evaluation.py", line 5, in from cleanfid.inception_torchscript import InceptionV3W ModuleNotFoundError: No module named 'cleanfid.inception_torchscript' (base) jhin@Jonathans-Mac-mini stable-diffusion-webui %

Steps to reproduce the problem

cd documents cd stable-diffusion-webui ./run_webui_mac.sh

What should have happened?

.

Commit where the problem happens

from cleanfid.inception_torchscript import InceptionV3W ModuleNotFoundError: No module named 'cleanfid.inception_torchscript'

What platforms do you use to access UI ?

MacOS

What browsers do you use to access the UI ?

Apple Safari

Command Line Arguments

my run_webui_mac.sh :

#!/usr/bin/env bash -l

pyenv local anaconda3-2022.05

# This should not be needed since it's configured during installation, but might as well have it here.
conda env config vars set PYTORCH_ENABLE_MPS_FALLBACK=1

# Activate conda environment
conda activate web-ui

# Pull the latest changes from the repo
git pull --rebase

+ # Update the dependencies if needed
+ pip install -r requirements.txt

# Run the web ui
python webui.py --deepdanbooru --precision full --no-half --use-cpu Interrogate GFPGAN CodeFormer $@

# Deactivate conda environment
conda deactivate

Additional information, context and logs

.

suddenlag avatar Nov 13 '22 12:11 suddenlag