Can't properly install EasyPhoto.
EasyPhoto never shows up in the Ui. I have tried several versions of 1111. Including dev (where i am normally at), main and older versions like v1.8.0 (the one I used this time.
I also tried it on my normal installation and fresh ones and also in Stability matrix. It always gives me the same callbacks.
EasyPhoto should be installed correctly (Used it a long while ago and it worked fine back then.
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.8.0
Commit hash: bef51aed032c0aaa5cfd80445bc4cf0d85b408b5
is_installed check for tensorflow-cpu failed as 'spec is None'
Installing requirements for easyphoto-webui
Installing requirements for tensorflow
Launching Web UI with arguments: --xformers --api --skip-python-version-check --gradio-allowed-path F:\Matrix\Data\Images
2025-05-03 08:42:53.975087: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2025-05-03 08:42:54.568375: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2025-05-03 08:42:57,057 - modelscope - INFO - PyTorch version 2.1.2+cu121 Found.
2025-05-03 08:42:57,058 - modelscope - INFO - TensorFlow version 2.19.0 Found.
2025-05-03 08:42:57,058 - modelscope - INFO - Loading ast index from C:\Users\Ich\.cache\modelscope\ast_indexer
2025-05-03 08:42:57,098 - modelscope - INFO - Loading done! Current index file version is 1.9.3, with md5 db739c1ba9b236b99020d17e7aaea91f and a total number of 943 components indexed
*** Error loading script: api.py
Traceback (most recent call last):
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\modules\scripts.py", line 527, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\extensions\sd-webui-EasyPhoto\scripts\api.py", line 12, in <module>
from scripts.easyphoto_train import easyphoto_train_forward
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\extensions\sd-webui-EasyPhoto\scripts\easyphoto_train.py", line 23, in <module>
from scripts.train_kohya.utils.lora_utils import convert_lora_to_safetensors
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\extensions\sd-webui-EasyPhoto\scripts\train_kohya\utils\lora_utils.py", line 16, in <module>
from diffusers import AutoencoderKL
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\diffusers\__init__.py", line 5, in <module>
from .utils import (
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\diffusers\utils\__init__.py", line 38, in <module>
from .dynamic_modules_utils import get_class_from_dynamic_module
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in <module>
from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\huggingface_hub\__init__.py)
---
*** Error loading script: easyphoto_train.py
Traceback (most recent call last):
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\modules\scripts.py", line 527, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\extensions\sd-webui-EasyPhoto\scripts\easyphoto_train.py", line 23, in <module>
from scripts.train_kohya.utils.lora_utils import convert_lora_to_safetensors
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\extensions\sd-webui-EasyPhoto\scripts\train_kohya\utils\lora_utils.py", line 16, in <module>
from diffusers import AutoencoderKL
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\diffusers\__init__.py", line 5, in <module>
from .utils import (
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\diffusers\utils\__init__.py", line 38, in <module>
from .dynamic_modules_utils import get_class_from_dynamic_module
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in <module>
from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\huggingface_hub\__init__.py)
---
*** Error loading script: easyphoto_ui.py
Traceback (most recent call last):
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\modules\scripts.py", line 527, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\extensions\sd-webui-EasyPhoto\scripts\easyphoto_ui.py", line 23, in <module>
from scripts.easyphoto_train import easyphoto_train_forward
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\extensions\sd-webui-EasyPhoto\scripts\easyphoto_train.py", line 23, in <module>
from scripts.train_kohya.utils.lora_utils import convert_lora_to_safetensors
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\extensions\sd-webui-EasyPhoto\scripts\train_kohya\utils\lora_utils.py", line 16, in <module>
from diffusers import AutoencoderKL
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\diffusers\__init__.py", line 5, in <module>
from .utils import (
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\diffusers\utils\__init__.py", line 38, in <module>
from .dynamic_modules_utils import get_class_from_dynamic_module
File "F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in <module>
from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\huggingface_hub\__init__.py)
---
ControlNet preprocessor location: F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\extensions\sd-webui-controlnet\annotator\downloads
2025-05-03 08:42:57,973 - ControlNet - INFO - ControlNet v1.1.455
Loading weights [9ece21c352] from F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\models\Stable-diffusion\sd\hassakuXLIllustrious_v22.safetensors
Creating model from config: F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\repositories\generative-models\configs\inference\sd_xl_base.yaml
AnimateDiffScript init
AnimateDiffScript init
2025-05-03 08:42:58,340 - ControlNet - INFO - ControlNet UI callback registered.
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
F:\Matrix\Data\Packages\Stable Diffusion WebUI testing\venv\lib\site-packages\huggingface_hub\file_download.py:896: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
warnings.warn(
Startup time: 11.9s (prepare environment: 2.7s, import torch: 2.6s, import gradio: 0.6s, setup paths: 2.2s, initialize shared: 0.2s, other imports: 0.2s, load scripts: 1.8s, create ui: 0.6s, gradio launch: 0.7s, add APIs: 0.2s).
Applying attention optimization: xformers... done.
Model loaded in 5.7s (create model: 2.6s, apply weights to model: 2.7s, calculate empty prompt: 0.1s).
Is there an existing issue for this?
Is EasyPhoto the latest version?
What happened?
Can't properly install EasyPhoto.
EasyPhoto never shows up in the Ui. I have tried several versions of 1111. Including dev (where i am normally at), main and older versions like v1.8.0 (the one I used this time.
I also tried it on my normal installation and fresh ones and also in Stability matrix. It always gives me the same callbacks.
Steps to reproduce the problem
What should have happened?
EasyPhoto should be installed correctly (Used it a long while ago and it worked fine back then.
Commit where the problem happens
webui:
EastPhoto:
What browsers do you use to access the UI ?
No response
Command Line Arguments
List of enabled extensions
sd-webui-controlnet
Console logs
Additional information
No response