aigc-apps / sd-webui-EasyPhoto

πŸ“· EasyPhoto | Your Smart AI Photo Generator.
Apache License 2.0
4.9k stars 388 forks source link

Error executing the command: Command returned non-zero exit status 1 #267

Closed hkpD closed 10 months ago

hkpD commented 10 months ago

Hello,

I am on Windows 11 using DirectML version of Stable Diffusion. I am unable to train any faces. Are you able to help me get to the root cause, please?

Here are my logs every time that I click "train"


venv "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.6.1
Commit hash: 03eec1791be011e087985ae93c1f66315d5a250e
is_installed check for tensorflow-cpu failed as 'spec is None'
Installing requirements for easyphoto-webui
Installing requirements for tensorflow
Installing requirements for easyphoto-webui
Installing requirements for invisible-watermark
Checking ReActor requirements... Ok
Launching Web UI with arguments: --no-download-sd-model --theme dark --autolaunch --embeddings-dir D:\models\embeddings --ckpt-dir D:\models\Stable-diffusion --vae-dir D:\models\VAE --lora-dir D:\models\Lora
2023-11-18 14:39:45.392399: I tensorflow/core/util/port.cc:113] 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`.
WARNING:tensorflow:From C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.

no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
[-] ADetailer initialized. version: 23.11.0, num models: 9
2023-11-18 14:39:53,924 - modelscope - INFO - PyTorch version 2.0.0 Found.
2023-11-18 14:39:53,928 - modelscope - INFO - TensorFlow version 2.15.0 Found.
2023-11-18 14:39:53,928 - modelscope - INFO - Loading ast index from C:\Users\user\.cache\modelscope\ast_indexer
2023-11-18 14:39:54,193 - modelscope - INFO - Loading done! Current index file version is 1.9.3, with md5 7f5d96c0262a4dc15fc7d277950d88c5 and a total number of 943 components indexed
2023-11-18 14:39:54,930 - ControlNet - INFO - ControlNet v1.1.415
ControlNet preprocessor location: D:\models\ControlNet
2023-11-18 14:39:55,038 - ControlNet - INFO - ControlNet v1.1.415
14:39:55 - ReActor - STATUS - Running v0.4.3
Loading weights [59ffe2243a] from C:\Users\user\Desktop\stable-diffusion-webui-directml\models\Stable-diffusion\Chilloutmix-Ni-pruned-fp16-fix.safetensors
AnimateDiffScript init
AnimateDiffScript init
Creating model from config: C:\Users\user\Desktop\stable-diffusion-webui-directml\configs\v1-inference.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 19.7s (prepare environment: 5.9s, import torch: 6.8s, import gradio: 0.4s, setup paths: 0.6s, initialize shared: 1.1s, other imports: 0.1s, load scripts: 3.3s, create ui: 1.0s, gradio launch: 0.4s).
Loading VAE weights specified in settings: D:\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt
Applying attention optimization: Doggettx... done.
Model loaded in 7.0s (load weights from disk: 1.1s, create model: 0.4s, apply weights to model: 2.4s, load VAE: 3.0s, calculate empty prompt: 0.1s).
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5/5 [00:14<00:00,  2.88s/it]
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5/5 [00:08<00:00,  1.68s/it]
mediapipe: 1 detected.
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:01<00:00,  2.79it/s]
mediapipe: 1 detected.
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:01<00:00,  2.84it/s]
[-] ADetailer: nothing detected on image 3 with 1st settings.
mediapipe: 1 detected.
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:01<00:00,  2.79it/s]
Total progress: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5/5 [00:18<00:00,  3.64s/it]
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5/5 [00:08<00:00,  1.80s/it]
Total progress: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5/5 [00:10<00:00,  2.11s/it]
Unloaded weights 0.0s.β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5/5 [00:10<00:00,  1.63s/it]
Loading weights [59ffe2243a] from C:\Users\user\Desktop\stable-diffusion-webui-directml\models\Stable-diffusion\Chilloutmix-Ni-pruned-fp16-fix.safetensors
2023-11-18 14:41:30,950 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\Stable-diffusion/Chilloutmix-Ni-pruned-fp16-fix.safetensors : Hash match
2023-11-18 14:41:33,500 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\Stable-diffusion/SDXL_1.0_ArienMixXL_v2.0.safetensors : Hash match
2023-11-18 14:41:35,972 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\Stable-diffusion/majicmixRealistic_v7.safetensors : Hash match
2023-11-18 14:41:38,388 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\ControlNet/control_v11p_sd15_openpose.pth : Hash match
2023-11-18 14:41:40,936 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\ControlNet/control_v11p_sd15_canny.pth : Hash match
2023-11-18 14:41:43,506 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\ControlNet/control_v11f1e_sd15_tile.pth : Hash match
2023-11-18 14:41:45,920 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\ControlNet/control_sd15_random_color.pth : Hash match
2023-11-18 14:41:48,497 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\ControlNet/diffusers_xl_canny_mid.safetensors : Hash match
2023-11-18 14:41:50,933 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\Lora/FilmVelvia3.safetensors : Hash match
2023-11-18 14:41:53,288 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\annotator/downloads/openpose\body_pose_model.pth : Hash match
2023-11-18 14:41:55,911 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\annotator/downloads/openpose\facenet.pth : Hash match
2023-11-18 14:41:58,426 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\annotator/downloads/openpose\hand_pose_model.pth : Hash match
2023-11-18 14:42:00,874 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\VAE/vae-ft-mse-840000-ema-pruned.ckpt : Hash match
2023-11-18 14:42:03,244 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\models/stable-diffusion-xl/madebyollin_sdxl_vae_fp16_fix\diffusion_pytorch_model.safetensors : Hash match
2023-11-18 14:42:05,805 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\models\VAE/madebyollin-sdxl-vae-fp16-fix.safetensors : Hash match
2023-11-18 14:42:08,179 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\models\mm_sd_v15_v2.ckpt : Hash match
2023-11-18 14:42:11,659 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\models\face_skin.pth : Hash match
2023-11-18 14:42:14,055 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\models\face_landmarks.pth : Hash match
2023-11-18 14:42:16,588 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\models\makeup_transfer.pth : Hash match
2023-11-18 14:42:18,926 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\models\flownet.pkl : Hash match
2023-11-18 14:42:19,718 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\models\training_templates\1.jpg : Hash match
2023-11-18 14:42:22,131 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\models\training_templates\2.jpg : Hash match
2023-11-18 14:42:24,480 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\models\training_templates\3.jpg : Hash match
2023-11-18 14:42:26,819 - scripts - C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\models\training_templates\4.jpg : Hash match
2023-11-18 14:42:29,310 - modelscope - INFO - PyTorch version 2.0.0 Found.
2023-11-18 14:42:29,314 - modelscope - INFO - TensorFlow version 2.15.0 Found.
2023-11-18 14:42:29,314 - modelscope - INFO - Loading ast index from C:\Users\user\.cache\modelscope\ast_indexer
2023-11-18 14:42:29,409 - modelscope - INFO - Loading done! Current index file version is 1.9.3, with md5 7f5d96c0262a4dc15fc7d277950d88c5 and a total number of 943 components indexed
2023-11-18 14:42:32,452 - modelscope - INFO - Use user-specified model revision: v1.0.3
2023-11-18 14:42:32,933 - modelscope - WARNING - ('PIPELINES', 'face_recognition', 'face_recognition') not found in ast index file
2023-11-18 14:42:32,934 - modelscope - INFO - initiate model from C:\Users\user\.cache\modelscope\hub\bubbliiiing\cv_retinafce_recognition
2023-11-18 14:42:32,934 - modelscope - INFO - initiate model from location C:\Users\user\.cache\modelscope\hub\bubbliiiing\cv_retinafce_recognition.
2023-11-18 14:42:32,936 - modelscope - INFO - initialize model from C:\Users\user\.cache\modelscope\hub\bubbliiiing\cv_retinafce_recognition
2023-11-18 14:42:32,939 - modelscope - WARNING - ('MODELS', 'face_recognition', 'face_recognition') not found in ast index file
2023-11-18 14:42:34,867 - modelscope - INFO - Model revision not specified, use revision: v2.0.2
2023-11-18 14:42:36,851 - modelscope - INFO - initiate model from C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface
2023-11-18 14:42:36,851 - modelscope - INFO - initiate model from location C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface.
2023-11-18 14:42:36,856 - modelscope - WARNING - No preprocessor field found in cfg.
2023-11-18 14:42:36,856 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file.
2023-11-18 14:42:36,856 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': 'C:\\Users\\user\\.cache\\modelscope\\hub\\damo\\cv_resnet50_face-detection_retinaface'}. trying to build by task and model information.
2023-11-18 14:42:36,856 - modelscope - WARNING - Find task: face-detection, model type: None. Insufficient information to build preprocessor, skip building preprocessor
2023-11-18 14:42:36,858 - modelscope - INFO - cuda is not available, using cpu instead.
2023-11-18 14:42:36,858 - modelscope - INFO - loading model from C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface\pytorch_model.pt
C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\torchvision\models\_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
  warnings.warn(
C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\torchvision\models\_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.
  warnings.warn(msg)
2023-11-18 14:42:37,165 - modelscope - INFO - load model done
2023-11-18 14:42:37,868 - modelscope - INFO - load facefusion models done
2023-11-18 14:42:37,868 - modelscope - INFO - init done
2023-11-18 14:42:37,872 - modelscope - WARNING - No preprocessor field found in cfg.
2023-11-18 14:42:37,872 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file.
2023-11-18 14:42:37,873 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': 'C:\\Users\\user\\.cache\\modelscope\\hub\\bubbliiiing\\cv_retinafce_recognition'}. trying to build by task and model information.
2023-11-18 14:42:37,873 - modelscope - WARNING - No preprocessor key ('face_recognition', 'face_recognition') found in PREPROCESSOR_MAP, skip building preprocessor.
2023-11-18 14:42:37,875 - modelscope - INFO - cuda is not available, using cpu instead.
2023-11-18 14:42:37,875 - modelscope - INFO - image face recognition model init done
2023-11-18 14:42:39,844 - modelscope - INFO - Use user-specified model revision: v2.0.2
2023-11-18 14:42:41,566 - modelscope - INFO - initiate model from C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface
2023-11-18 14:42:41,566 - modelscope - INFO - initiate model from location C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface.
2023-11-18 14:42:41,570 - modelscope - WARNING - No preprocessor field found in cfg.
2023-11-18 14:42:41,570 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file.
2023-11-18 14:42:41,570 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': 'C:\\Users\\user\\.cache\\modelscope\\hub\\damo\\cv_resnet50_face-detection_retinaface'}. trying to build by task and model information.
2023-11-18 14:42:41,571 - modelscope - WARNING - Find task: face-detection, model type: None. Insufficient information to build preprocessor, skip building preprocessor
2023-11-18 14:42:41,572 - modelscope - INFO - cuda is not available, using cpu instead.
2023-11-18 14:42:41,572 - modelscope - INFO - loading model from C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface\pytorch_model.pt
2023-11-18 14:42:41,820 - modelscope - INFO - load model done
2023-11-18 14:42:43,753 - modelscope - INFO - Use user-specified model revision: v1.0.0
2023-11-18 14:42:44,249 - modelscope - INFO - initiate model from C:\Users\user\.cache\modelscope\hub\damo\cv_u2net_salient-detection
2023-11-18 14:42:44,250 - modelscope - INFO - initiate model from location C:\Users\user\.cache\modelscope\hub\damo\cv_u2net_salient-detection.
2023-11-18 14:42:44,251 - modelscope - INFO - initialize model from C:\Users\user\.cache\modelscope\hub\damo\cv_u2net_salient-detection
2023-11-18 14:42:44,537 - modelscope - WARNING - No preprocessor field found in cfg.
2023-11-18 14:42:44,538 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file.
2023-11-18 14:42:44,538 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': 'C:\\Users\\user\\.cache\\modelscope\\hub\\damo\\cv_u2net_salient-detection'}. trying to build by task and model information.
2023-11-18 14:42:44,538 - modelscope - WARNING - No preprocessor key ('detection', 'semantic-segmentation') found in PREPROCESSOR_MAP, skip building preprocessor.
2023-11-18 14:42:44,539 - modelscope - INFO - cuda is not available, using cpu instead.
2023-11-18 14:42:46,474 - modelscope - INFO - Use user-specified model revision: v1.0.2
2023-11-18 14:42:46,992 - modelscope - WARNING - ('PIPELINES', 'skin-retouching-torch', 'skin-retouching-torch') not found in ast index file
2023-11-18 14:42:46,992 - modelscope - INFO - initiate model from C:\Users\user\.cache\modelscope\hub\damo\cv_unet_skin_retouching_torch
2023-11-18 14:42:46,993 - modelscope - INFO - initiate model from location C:\Users\user\.cache\modelscope\hub\damo\cv_unet_skin_retouching_torch.
2023-11-18 14:42:46,997 - modelscope - WARNING - No preprocessor field found in cfg.
2023-11-18 14:42:46,997 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file.
2023-11-18 14:42:46,997 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': 'C:\\Users\\user\\.cache\\modelscope\\hub\\damo\\cv_unet_skin_retouching_torch'}. trying to build by task and model information.
2023-11-18 14:42:46,997 - modelscope - WARNING - Find task: skin-retouching-torch, model type: None. Insufficient information to build preprocessor, skip building preprocessor
2023-11-18 14:42:46,999 - modelscope - INFO - cuda is not available, using cpu instead.
2023-11-18 14:42:46,999 - modelscope - INFO - cuda is not available, using cpu instead.
2023-11-18 14:42:49,183 - modelscope - INFO - Model revision not specified, use revision: v2.0.2
2023-11-18 14:42:50,961 - modelscope - INFO - initiate model from C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface
2023-11-18 14:42:50,963 - modelscope - INFO - initiate model from location C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface.
2023-11-18 14:42:50,967 - modelscope - WARNING - No preprocessor field found in cfg.
2023-11-18 14:42:50,967 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file.
2023-11-18 14:42:50,967 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': 'C:\\Users\\user\\.cache\\modelscope\\hub\\damo\\cv_resnet50_face-detection_retinaface'}. trying to build by task and model information.
2023-11-18 14:42:50,967 - modelscope - WARNING - Find task: face-detection, model type: None. Insufficient information to build preprocessor, skip building preprocessor
2023-11-18 14:42:50,969 - modelscope - INFO - cuda is not available, using cpu instead.
2023-11-18 14:42:50,969 - modelscope - INFO - loading model from C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface\pytorch_model.pt
2023-11-18 14:42:51,235 - modelscope - INFO - load model done
2023-11-18 14:42:52.4043235 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2649'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4110809 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2644'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4166348 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2647'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4222358 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2658'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4277544 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2648'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4332722 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2657'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4388923 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2653'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4442522 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2652'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4496778 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2645'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4553245 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2643'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4608364 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2641'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4663855 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2633'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4719012 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2632'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4773138 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2624'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4828888 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2614'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4884216 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2613'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4939514 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2606'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.4995241 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2598'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.5051548 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2596'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:52.5107272 [W:onnxruntime:, graph.cc:3553 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2594'. It is not used by any node and should be removed from the model.
2023-11-18 14:42:54,664 - modelscope - INFO - Use user-specified model revision: v1.0.0
2023-11-18 14:42:55,177 - modelscope - INFO - initiate model from C:\Users\user\.cache\modelscope\hub\damo\cv_gpen_image-portrait-enhancement
2023-11-18 14:42:55,177 - modelscope - INFO - initiate model from location C:\Users\user\.cache\modelscope\hub\damo\cv_gpen_image-portrait-enhancement.
2023-11-18 14:42:55,179 - modelscope - INFO - initialize model from C:\Users\user\.cache\modelscope\hub\damo\cv_gpen_image-portrait-enhancement
Loading ResNet ArcFace
2023-11-18 14:42:56,269 - modelscope - INFO - cuda is not available, using cpu instead.
2023-11-18 14:42:56,837 - modelscope - INFO - load face enhancer model done
2023-11-18 14:42:57,150 - modelscope - INFO - load face detector model done
2023-11-18 14:42:57,817 - modelscope - INFO - load sr model done
2023-11-18 14:42:58,541 - modelscope - INFO - load fqa model done
  0%|                                                                                           | 0/18 [00:00<?, ?it/s]2023-11-18 14:42:59,187 - modelscope - WARNING - task skin-retouching-torch input definition is missing
2023-11-18 14:43:01,512 - modelscope - WARNING - task skin-retouching-torch output keys are missing
2023-11-18 14:43:01,518 - modelscope - WARNING - task face_recognition input definition is missing
2023-11-18 14:43:02,218 - modelscope - INFO - model inference done
2023-11-18 14:43:02,218 - modelscope - WARNING - task face_recognition output keys are missing
  6%|β–ˆβ–ˆβ–ˆβ–ˆβ–Œ                                                                              | 1/18 [00:03<01:02,  3.65s/it]2023-11-18 14:43:07,287 - modelscope - INFO - model inference done
 11%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–                                                                         | 2/18 [00:08<01:11,  4.48s/it]Face size in 10.jpg is small than 128. Ignore it.
 17%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š                                                                     | 3/18 [00:08<00:37,  2.51s/it]Face size in 11.jpg is small than 128. Ignore it.
 22%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–                                                                | 4/18 [00:09<00:22,  1.58s/it]2023-11-18 14:43:11,857 - modelscope - INFO - model inference done
 28%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ                                                            | 5/18 [00:13<00:33,  2.54s/it]2023-11-18 14:43:17,356 - modelscope - INFO - model inference done
 33%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹                                                       | 6/18 [00:18<00:42,  3.55s/it]Face size in 14.jpg is small than 128. Ignore it.
 39%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž                                                  | 7/18 [00:18<00:26,  2.45s/it]2023-11-18 14:43:22,822 - modelscope - INFO - model inference done
 44%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰                                              | 8/18 [00:24<00:33,  3.35s/it]Face size in 16.jpg is small than 128. Ignore it.
 50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ                                         | 9/18 [00:24<00:21,  2.38s/it]2023-11-18 14:43:27,029 - modelscope - INFO - model inference done
 56%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ                                    | 10/18 [00:28<00:22,  2.87s/it]2023-11-18 14:43:29,945 - modelscope - INFO - model inference done
 61%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ                                | 11/18 [00:31<00:20,  2.88s/it]2023-11-18 14:43:35,081 - modelscope - INFO - model inference done
 67%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹                           | 12/18 [00:36<00:21,  3.57s/it]2023-11-18 14:43:37,989 - modelscope - INFO - model inference done
 72%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–                      | 13/18 [00:39<00:16,  3.37s/it]2023-11-18 14:43:41,617 - modelscope - INFO - model inference done
 78%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š                  | 14/18 [00:43<00:13,  3.45s/it]2023-11-18 14:43:45,855 - modelscope - INFO - model inference done
 83%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž             | 15/18 [00:47<00:11,  3.69s/it]2023-11-18 14:43:51,533 - modelscope - INFO - model inference done
 89%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰         | 16/18 [00:52<00:08,  4.28s/it]2023-11-18 14:43:57,100 - modelscope - INFO - model inference done
 94%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–    | 17/18 [00:58<00:04,  4.67s/it]2023-11-18 14:44:01,886 - modelscope - INFO - model inference done
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 18/18 [01:03<00:00,  3.52s/it]
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\8.jpg total scores:  0.5896127423103447 face angles 0.9271997364726386
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\15.jpg total scores:  0.578858337680282 face angles 0.9575462542037729
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\17.jpg total scores:  0.5678512408608152 face angles 0.9690365747164915
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\5.jpg total scores:  0.5645649097135229 face angles 0.947404341503905
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\0.jpg total scores:  0.5454903972426054 face angles 0.9353120233179795
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\7.jpg total scores:  0.5390472361738984 face angles 0.9250578911457874
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\12.jpg total scores:  0.5181116876258872 face angles 0.9236189549034511
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\4.jpg total scores:  0.5012421849356037 face angles 0.7629581569365945
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\13.jpg total scores:  0.4313911816588057 face angles 0.9330853846609567
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\9.jpg total scores:  0.4031149948795835 face angles 0.6464735166641495
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\3.jpg total scores:  0.3840804655963317 face angles 0.7043403013902544
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\6.jpg total scores:  0.36359125510040585 face angles 0.6359053924792815
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\2.jpg total scores:  0.32841621005970006 face angles 0.944477717815252
selected paths: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\original_backup\1.jpg total scores:  0.28898536276409126 face angles 0.5701487403098296
jpg: 4.jpg face_id_scores 0.5012421849356037
jpg: 8.jpg face_id_scores 0.5896127423103447
jpg: 9.jpg face_id_scores 0.4031149948795835
jpg: 15.jpg face_id_scores 0.578858337680282
jpg: 5.jpg face_id_scores 0.5645649097135229
jpg: 17.jpg face_id_scores 0.5678512408608152
jpg: 0.jpg face_id_scores 0.5454903972426054
jpg: 7.jpg face_id_scores 0.5390472361738984
jpg: 6.jpg face_id_scores 0.36359125510040585
jpg: 12.jpg face_id_scores 0.5181116876258872
jpg: 3.jpg face_id_scores 0.3840804655963317
jpg: 1.jpg face_id_scores 0.28898536276409126
jpg: 13.jpg face_id_scores 0.4313911816588057
jpg: 2.jpg face_id_scores 0.32841621005970006
14it [00:30,  2.20s/it]
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\0.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\1.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\2.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\3.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\4.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\5.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\6.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\7.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\8.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\9.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\10.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\11.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\12.jpg
save processed image to C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-user-id-infos\face\processed_images\train\13.jpg
train_file_path :  C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\scripts\train_kohya/train_lora.py
cache_log_file_path: C:\Users\user\Desktop\stable-diffusion-webui-directml\outputs/easyphoto-tmp/train_kohya_log.txt
2023-11-18 14:44:35.454796: I tensorflow/core/util/port.cc:113] 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`.
WARNING:tensorflow:From C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.

The following values were not passed to `accelerate launch` and had defaults used instead:
        `--num_processes` was set to a value of `0`
        `--num_machines` was set to a value of `1`
        `--dynamo_backend` was set to a value of `'no'`
To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`.
2023-11-18 14:44:41.253781: I tensorflow/core/util/port.cc:113] 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`.
WARNING:tensorflow:From C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.

2023-11-18 14:44:45,355 - modelscope - INFO - PyTorch version 2.0.0 Found.
2023-11-18 14:44:45,358 - modelscope - INFO - TensorFlow version 2.15.0 Found.
2023-11-18 14:44:45,358 - modelscope - INFO - Loading ast index from C:\Users\user\.cache\modelscope\ast_indexer
2023-11-18 14:44:45,445 - modelscope - INFO - Loading done! Current index file version is 1.9.3, with md5 7f5d96c0262a4dc15fc7d277950d88c5 and a total number of 943 components indexed
11/18/2023 14:44:46 - INFO - __main__ - Distributed environment: NO
Num processes: 1
Process index: 0
Local process index: 0
Device: cpu

Mixed precision type: fp16

{'thresholding', 'sample_max_value', 'timestep_spacing', 'clip_sample_range', 'variance_type', 'dynamic_thresholding_ratio', 'prediction_type'} was not found in config. Values will be initialized to default values.
loading u-net: <All keys matched successfully>
loading vae: <All keys matched successfully>
loading text encoder: <All keys matched successfully>
create LoRA network. base dim (rank): 128, alpha: 64
neuron dropout: p=None, rank dropout: p=None, module dropout: p=None
create LoRA for Text Encoder:
create LoRA for Text Encoder: 72 modules.
create LoRA for U-Net: 192 modules.
enable LoRA for text encoder
enable LoRA for U-Net
Resolving data files: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 29/29 [00:00<00:00, 29078.37it/s]
Downloading and preparing dataset imagefolder/default to C:/Users/user/.cache/huggingface/datasets/imagefolder/default-99d5ca86ef7b437b/0.0.0/37fbb85cc714a338bea574ac6c7d0b5be5aff46c1862c1989b20e0771199e93f...
Downloading data files: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 15/15 [00:00<?, ?it/s]
Downloading data files: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 14/14 [00:00<00:00, 13994.34it/s]
Extracting data files: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 14/14 [00:00<00:00, 1640.05it/s]
Dataset imagefolder downloaded and prepared to C:/Users/user/.cache/huggingface/datasets/imagefolder/default-99d5ca86ef7b437b/0.0.0/37fbb85cc714a338bea574ac6c7d0b5be5aff46c1862c1989b20e0771199e93f. Subsequent calls will reuse this data.
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1/1 [00:00<00:00, 499.98it/s]
11/18/2023 14:44:53 - INFO - __main__ - ***** Running training *****
11/18/2023 14:44:53 - INFO - __main__ -   Num examples = 14
11/18/2023 14:44:53 - INFO - __main__ -   Num Epochs = 200
11/18/2023 14:44:53 - INFO - __main__ -   Instantaneous batch size per device = 1
11/18/2023 14:44:53 - INFO - __main__ -   Total train batch size (w. parallel, distributed & accumulation) = 4
11/18/2023 14:44:53 - INFO - __main__ -   Gradient Accumulation steps = 4
11/18/2023 14:44:53 - INFO - __main__ -   Total optimization steps = 800
Steps:   0%|                                                                                   | 0/800 [00:00<?, ?it/s]2023-11-18 14:44:55,086 - modelscope - INFO - Model revision not specified, use revision: v2.0.2
2023-11-18 14:44:57,187 - modelscope - INFO - initiate model from C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface
2023-11-18 14:44:57,187 - modelscope - INFO - initiate model from location C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface.
2023-11-18 14:44:57,191 - modelscope - WARNING - No preprocessor field found in cfg.
2023-11-18 14:44:57,191 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file.
2023-11-18 14:44:57,191 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': 'C:\\Users\\user\\.cache\\modelscope\\hub\\damo\\cv_resnet50_face-detection_retinaface'}. trying to build by task and model information.
2023-11-18 14:44:57,192 - modelscope - WARNING - Find task: face-detection, model type: None. Insufficient information to build preprocessor, skip building preprocessor
2023-11-18 14:44:57,193 - modelscope - INFO - cuda is not available, using cpu instead.
2023-11-18 14:44:57,193 - modelscope - INFO - loading model from C:\Users\user\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface\pytorch_model.pt
C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\torchvision\models\_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
  warnings.warn(
C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\torchvision\models\_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.
  warnings.warn(msg)
2023-11-18 14:44:57,438 - modelscope - INFO - load model done
Traceback (most recent call last):
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\scripts\train_kohya\train_lora.py", line 1467, in <module>
    main()
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\scripts\train_kohya\utils\gpu_info.py", line 178, in wrapper
    result = func(*args, **kwargs)
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\extensions\sd-webui-EasyPhoto\scripts\train_kohya\train_lora.py", line 1225, in main
    latents = vae.encode(batch["pixel_values"].to(dtype=weight_dtype)).latent_dist.sample()
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\diffusers\utils\accelerate_utils.py", line 46, in wrapper
    return method(self, *args, **kwargs)
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\diffusers\models\autoencoder_kl.py", line 236, in encode
    h = self.encoder(x)
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\diffusers\models\vae.py", line 110, in forward
    sample = self.conv_in(sample)
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\conv.py", line 463, in forward
    return self._conv_forward(input, self.weight, self.bias)
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\torch\nn\modules\conv.py", line 459, in _conv_forward
    return F.conv2d(input, weight, bias, self.stride,
RuntimeError: "slow_conv2d_cpu" not implemented for 'Half'
Steps:   0%|                                                                                   | 0/800 [00:10<?, ?it/s]
Traceback (most recent call last):
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\accelerate\commands\launch.py", line 989, in <module>
    main()
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\accelerate\commands\launch.py", line 985, in main
    launch_command(args)
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\accelerate\commands\launch.py", line 979, in launch_command
    simple_launcher(args)
  File "C:\Users\user\Desktop\stable-diffusion-webui-directml\venv\lib\site-packages\accelerate\commands\launch.py", line 628, in simple_launcher
    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\user\\Desktop\\stable-diffusion-webui-directml\\venv\\Scripts\\python.exe', 'C:\\Users\\user\\Desktop\\stable-diffusion-webui-directml\\extensions\\sd-webui-EasyPhoto\\scripts\\train_kohya/train_lora.py', '--pretrained_model_name_or_path=extensions\\sd-webui-EasyPhoto\\models\\stable-diffusion-v1-5', '--pretrained_model_ckpt=models\\Stable-diffusion\\Chilloutmix-Ni-pruned-fp16-fix.safetensors', '--train_data_dir=outputs\\easyphoto-user-id-infos\\face\\processed_images', '--caption_column=text', '--resolution=512', '--random_flip', '--train_batch_size=1', '--gradient_accumulation_steps=4', '--dataloader_num_workers=0', '--max_train_steps=800', '--checkpointing_steps=100', '--learning_rate=0.0001', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--train_text_encoder', '--seed=42', '--rank=128', '--network_alpha=64', '--validation_prompt=easyphoto_face, easyphoto, 1person', '--validation_steps=100', '--output_dir=outputs\\easyphoto-user-id-infos\\face\\user_weights', '--logging_dir=outputs\\easyphoto-user-id-infos\\face\\user_weights', '--enable_xformers_memory_efficient_attention', '--mixed_precision=fp16', '--template_dir=extensions\\sd-webui-EasyPhoto\\models\\training_templates', '--template_mask', '--merge_best_lora_based_face_id', '--merge_best_lora_name=face', '--cache_log_file=C:\\Users\\user\\Desktop\\stable-diffusion-webui-directml\\outputs/easyphoto-tmp/train_kohya_log.txt', '--validation']' returned non-zero exit status 1.
Error executing the command: Command '['C:\\Users\\user\\Desktop\\stable-diffusion-webui-directml\\venv\\Scripts\\python.exe', '-m', 'accelerate.commands.launch', '--mixed_precision=fp16', '--main_process_port=3456', 'C:\\Users\\user\\Desktop\\stable-diffusion-webui-directml\\extensions\\sd-webui-EasyPhoto\\scripts\\train_kohya/train_lora.py', '--pretrained_model_name_or_path=extensions\\sd-webui-EasyPhoto\\models\\stable-diffusion-v1-5', '--pretrained_model_ckpt=models\\Stable-diffusion\\Chilloutmix-Ni-pruned-fp16-fix.safetensors', '--train_data_dir=outputs\\easyphoto-user-id-infos\\face\\processed_images', '--caption_column=text', '--resolution=512', '--random_flip', '--train_batch_size=1', '--gradient_accumulation_steps=4', '--dataloader_num_workers=0', '--max_train_steps=800', '--checkpointing_steps=100', '--learning_rate=0.0001', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--train_text_encoder', '--seed=42', '--rank=128', '--network_alpha=64', '--validation_prompt=easyphoto_face, easyphoto, 1person', '--validation_steps=100', '--output_dir=outputs\\easyphoto-user-id-infos\\face\\user_weights', '--logging_dir=outputs\\easyphoto-user-id-infos\\face\\user_weights', '--enable_xformers_memory_efficient_attention', '--mixed_precision=fp16', '--template_dir=extensions\\sd-webui-EasyPhoto\\models\\training_templates', '--template_mask', '--merge_best_lora_based_face_id', '--merge_best_lora_name=face', '--cache_log_file=C:\\Users\\user\\Desktop\\stable-diffusion-webui-directml\\outputs/easyphoto-tmp/train_kohya_log.txt', '--validation']' returned non-zero exit status 1.
Using already loaded model Chilloutmix-Ni-pruned-fp16-fix.safetensors [59ffe2243a]: done in 0.3s (send model to device: 0.3s)````
wuziheng commented 10 months ago

seems the training process with accelerate runing on cpu?

hkpD commented 10 months ago

Thanks! I don't know how I can fix it because I am using this DirectML fork on an AMD GPU. Maybe I need to use an nVidia GPU.

wuziheng commented 10 months ago

we use another python proceess to train, using python+accelerate. it seems accelerate can not recgonize your AMD gpu , its just my guess you can use a cloud version rather than your local windows