aigc-apps / sd-webui-EasyPhoto

📷 EasyPhoto | Your Smart AI Photo Generator.
Apache License 2.0
4.97k stars 396 forks source link

训练报错 #78

Open xx19971118 opened 1 year ago

xx19971118 commented 1 year ago

您好,遇到的问题是前端显示训练error,但是后端一直在训练,但训练完成后没有以id命名的模型 1694596954196 并且安装该插件后,我的后端就开始一直跳出信息 1694597097843 请问是什么问题呢

yunkchen commented 1 year ago

有更完整的日志么?上面日志并没有看到在训练

xx19971118 commented 1 year ago

Start Downloading weights Check rotate failed: has not exif. Return original img. Check rotate failed: has not exif. Return original img. Check rotate failed: has not exif. Return original img. Check rotate failed: has not exif. Return original img. Check rotate failed: has not exif. Return original img. Check rotate failed: has not exif. Return original img. Check rotate failed: has not exif. Return original img. Check rotate failed: has not exif. Return original img. Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} 2023-09-13 21:56:42,185 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: E:\stable-diffusion-webui-master\extensions\sd-webui-EasyPhoto\models\buffalo_l\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: E:\stable-diffusion-webui-master\extensions\sd-webui-EasyPhoto\models\buffalo_l\det_10g.onnx detection [1, 3, '?', '?'] 127.5 128.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: E:\stable-diffusion-webui-master\extensions\sd-webui-EasyPhoto\models\buffalo_l\w600k_r50.onnx recognition ['None', 3, 112, 112] 127.5 127.5 set det-size: (640, 640) 2023-09-13 21:56:43,977 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:45,225 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:46,486 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:47,742 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:48,088 - modelscope - INFO - Model revision not specified, use the latest revision: v2.0.2 2023-09-13 21:56:49,000 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:50,260 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:51,524 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:51,981 - modelscope - INFO - initiate model from C:\Users\x'x.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface 2023-09-13 21:56:51,981 - modelscope - INFO - initiate model from location C:\Users\x'x.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface. 2023-09-13 21:56:51,992 - modelscope - WARNING - No preprocessor field found in cfg. 2023-09-13 21:56:51,992 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file. 2023-09-13 21:56:51,992 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': "C:\Users\x'x\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface"}. trying to build by task and model information. 2023-09-13 21:56:51,992 - modelscope - WARNING - Find task: face-detection, model type: None. Insufficient information to build preprocessor, skip building preprocessor 2023-09-13 21:56:51,995 - modelscope - INFO - loading model from C:\Users\x'x.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface\pytorch_model.pt 2023-09-13 21:56:52,538 - modelscope - INFO - load model done 2023-09-13 21:56:52,781 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:54,040 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:55,294 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:56,555 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:57,074 - modelscope - INFO - Model revision not specified, use the latest revision: v1.0.0 2023-09-13 21:56:57,813 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:59,069 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:56:59,314 - modelscope - INFO - initiate model from C:\Users\x'x.cache\modelscope\hub\damo\cv_u2net_salient-detection 2023-09-13 21:56:59,314 - modelscope - INFO - initiate model from location C:\Users\x'x.cache\modelscope\hub\damo\cv_u2net_salient-detection. 2023-09-13 21:56:59,319 - modelscope - INFO - initialize model from C:\Users\x'x.cache\modelscope\hub\damo\cv_u2net_salient-detection 2023-09-13 21:56:59,817 - modelscope - WARNING - No preprocessor field found in cfg. 2023-09-13 21:56:59,817 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file. 2023-09-13 21:56:59,817 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': "C:\Users\x'x\.cache\modelscope\hub\damo\cv_u2net_salient-detection"}. trying to build by task and model information. 2023-09-13 21:56:59,817 - modelscope - WARNING - No preprocessor key ('detection', 'semantic-segmentation') found in PREPROCESSOR_MAP, skip building preprocessor. 2023-09-13 21:57:00,320 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:01,566 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:02,830 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:04,089 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:04,287 - modelscope - INFO - Use user-specified model revision: v1.0.2 2023-09-13 21:57:05,357 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:06,625 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:06,668 - modelscope - WARNING - ('PIPELINES', 'skin-retouching-torch', 'skin-retouching-torch') not found in ast index file 2023-09-13 21:57:06,668 - modelscope - INFO - initiate model from C:\Users\x'x.cache\modelscope\hub\damo\cv_unet_skin_retouching_torch 2023-09-13 21:57:06,669 - modelscope - INFO - initiate model from location C:\Users\x'x.cache\modelscope\hub\damo\cv_unet_skin_retouching_torch. 2023-09-13 21:57:06,679 - modelscope - WARNING - No preprocessor field found in cfg. 2023-09-13 21:57:06,679 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file. 2023-09-13 21:57:06,679 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': "C:\Users\x'x\.cache\modelscope\hub\damo\cv_unet_skin_retouching_torch"}. trying to build by task and model information. 2023-09-13 21:57:06,679 - modelscope - WARNING - Find task: skin-retouching-torch, model type: None. Insufficient information to build preprocessor, skip building preprocessor 2023-09-13 21:57:07,925 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:09,183 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:10,445 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:11,364 - modelscope - INFO - Model revision not specified, use the latest revision: v2.0.2 2023-09-13 21:57:11,702 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:12,961 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:14,216 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:15,349 - modelscope - INFO - initiate model from C:\Users\x'x.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface 2023-09-13 21:57:15,349 - modelscope - INFO - initiate model from location C:\Users\x'x.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface. 2023-09-13 21:57:15,362 - modelscope - WARNING - No preprocessor field found in cfg. 2023-09-13 21:57:15,362 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file. 2023-09-13 21:57:15,362 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': "C:\Users\x'x\.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface"}. trying to build by task and model information. 2023-09-13 21:57:15,362 - modelscope - WARNING - Find task: face-detection, model type: None. Insufficient information to build preprocessor, skip building preprocessor 2023-09-13 21:57:15,365 - modelscope - INFO - loading model from C:\Users\x'x.cache\modelscope\hub\damo\cv_resnet50_face-detection_retinaface\pytorch_model.pt 2023-09-13 21:57:15,473 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:15,921 - modelscope - INFO - load model done 2023-09-13 21:57:16,741 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:18,591 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:19,865 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:21,122 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:22,392 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:23,009 - modelscope - INFO - Model revision not specified, use the latest revision: v1.0.0 2023-09-13 21:57:23,659 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:24,927 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:25,290 - modelscope - INFO - initiate model from C:\Users\x'x.cache\modelscope\hub\damo\cv_gpen_image-portrait-enhancement 2023-09-13 21:57:25,291 - modelscope - INFO - initiate model from location C:\Users\x'x.cache\modelscope\hub\damo\cv_gpen_image-portrait-enhancement. 2023-09-13 21:57:25,294 - modelscope - INFO - initialize model from C:\Users\x'x.cache\modelscope\hub\damo\cv_gpen_image-portrait-enhancement Loading ResNet ArcFace 2023-09-13 21:57:26,236 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:27,499 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:28,776 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:28,889 - modelscope - INFO - load face enhancer model done 2023-09-13 21:57:29,382 - modelscope - INFO - load face detector model done 2023-09-13 21:57:30,039 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:30,190 - modelscope - INFO - load sr model done 2023-09-13 21:57:31,309 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:31,617 - modelscope - INFO - load fqa model done 0%| | 0/8 [00:00<?, ?it/s]2023-09-13 21:57:32,580 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 12%|██████████▌ | 1/8 [00:01<00:09, 1.34s/it]2023-09-13 21:57:33,852 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 38%|███████████████████████████████▌ | 3/8 [00:03<00:04, 1.08it/s]2023-09-13 21:57:35,137 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 50%|██████████████████████████████████████████ | 4/8 [00:03<00:02, 1.40it/s]2023-09-13 21:57:36,415 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 88%|█████████████████████████████████████████████████████████████████████████▌ | 7/8 [00:05<00:00, 1.60it/s]2023-09-13 21:57:37,687 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 100%|████████████████████████████████████████████████████████████████████████████████████| 8/8 [00:06<00:00, 1.18it/s] selected paths: E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\original_backup\4.jpg total scores: 0.6647355417512412 face angles 0.9955706923127579 selected paths: E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\original_backup\6.jpg total scores: 0.6447256328310144 face angles 0.9846828029180461 selected paths: E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\original_backup\1.jpg total scores: 0.6197758990651948 face angles 0.9850419945764524 selected paths: E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\original_backup\0.jpg total scores: 0.6194909429988562 face angles 0.9909250613466669 selected paths: E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\original_backup\3.jpg total scores: 0.6183011513454395 face angles 0.9861439029412833 selected paths: E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\original_backup\7.jpg total scores: 0.5876996376950713 face angles 0.9467009955597979 selected paths: E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\original_backup\5.jpg total scores: 0.5505509647093871 face angles 0.9026051629740915 selected paths: E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\original_backup\2.jpg total scores: 0.5461228345567827 face angles 0.8221315287132004 jpg: 4.jpg face_id_scores 0.6647355417512412 jpg: 2.jpg face_id_scores 0.5461228345567827 jpg: 6.jpg face_id_scores 0.6447256328310144 jpg: 1.jpg face_id_scores 0.6197758990651948 jpg: 3.jpg face_id_scores 0.6183011513454395 jpg: 0.jpg face_id_scores 0.6194909429988562 jpg: 7.jpg face_id_scores 0.5876996376950713 jpg: 5.jpg face_id_scores 0.5505509647093871 0it [00:00, ?it/s]2023-09-13 21:57:38,572 - modelscope - WARNING - task skin-retouching-torch input definition is missing 2023-09-13 21:57:38,959 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:40,238 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:41,370 - modelscope - WARNING - task skin-retouching-torch output keys are missing 2023-09-13 21:57:41,505 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 1it [00:04, 4.21s/it]2023-09-13 21:57:42,770 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:44,034 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2it [00:06, 3.07s/it]2023-09-13 21:57:45,302 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:46,557 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 3it [00:08, 2.53s/it]2023-09-13 21:57:47,836 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 4it [00:10, 2.28s/it]2023-09-13 21:57:49,099 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 5it [00:11, 2.06s/it]2023-09-13 21:57:50,378 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:51,636 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 6it [00:13, 1.99s/it]2023-09-13 21:57:52,917 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:54,214 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 7it [00:15, 2.06s/it]2023-09-13 21:57:55,481 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 8it [00:17, 2.25s/it] save processed image to E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\processed_images\train\0.jpg save processed image to E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\processed_images\train\1.jpg save processed image to E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\processed_images\train\2.jpg save processed image to E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\processed_images\train\3.jpg save processed image to E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\processed_images\train\4.jpg save processed image to E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\processed_images\train\5.jpg save processed image to E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\processed_images\train\6.jpg save processed image to E:\stable-diffusion-webui-master\outputs/easyphoto-user-id-infos\xx\processed_images\train\7.jpg train_file_path : E:\stable-diffusion-webui-master\extensions\sd-webui-EasyPhoto\scripts\train_kohya/train_lora.py cache_log_file_path : E:\stable-diffusion-webui-master\extensions\sd-webui-EasyPhoto\train_kohya_log.txt 2023-09-13 21:57:56,742 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:57,992 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:57:59,251 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:00,516 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:01,774 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:03,049 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:04,307 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:05,567 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" The following values were not passed to accelerate launch and had defaults used instead: --num_processes was set to a value of 1 --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-09-13 21:58:06,829 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:08,095 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:09,359 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:10,619 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:11,891 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:13,149 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:14,400 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:15,676 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:16,943 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:17,273 - modelscope - INFO - PyTorch version 2.0.1+cu118 Found. 2023-09-13 21:58:17,279 - modelscope - INFO - TensorFlow version 2.13.0 Found. 2023-09-13 21:58:17,279 - modelscope - INFO - Loading ast index from C:\Users\x'x.cache\modelscope\ast_indexer 2023-09-13 21:58:17,586 - modelscope - INFO - Loading done! Current index file version is 1.9.0, with md5 a17871833dbf178a4e60f62e046ef642 and a total number of 921 components indexed 2023-09-13 21:58:18,205 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 09/13/2023 21:58:18 - INFO - main - Distributed environment: NO Num processes: 1 Process index: 0 Local process index: 0 Device: cuda

Mixed precision type: fp16

{'clip_sample_range', 'sample_max_value', 'prediction_type', 'variance_type', 'dynamic_thresholding_ratio', 'timestep_spacing', 'thresholding'} was not found in config. Values will be initialized to default values. 2023-09-13 21:58:19,467 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:20,737 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:21,993 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:23,261 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:24,535 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:25,803 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:27,060 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:28,327 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:29,599 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:30,867 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" loading u-net: 2023-09-13 21:58:32,121 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" loading vae: 2023-09-13 21:58:33,385 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:34,665 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" loading text encoder: 2023-09-13 21:58:35,940 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:37,202 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:38,462 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:39,726 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:40,987 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:41,356 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 503 Service Unavailable" 2023-09-13 21:58:41,624 - httpx - HTTP Request: POST http://127.0.0.1:7860/reset "HTTP/1.1 200 OK" 2023-09-13 21:58:42,242 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:43,511 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 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 2023-09-13 21:58:44,786 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:46,044 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:47,309 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" Resolving data files: 100%|████████████████████████████████████████████████████████████████████| 17/17 [00:00<?, ?it/s] Downloading and preparing dataset imagefolder/default to C:/Users/x'x/.cache/huggingface/datasets/imagefolder/default-d837f123b878dd2b/0.0.0/37fbb85cc714a338bea574ac6c7d0b5be5aff46c1862c1989b20e0771199e93f... Downloading data files: 100%|██████████████████████████████████████████████████████████| 9/9 [00:00<00:00, 9074.22it/s] Downloading data files: 100%|████████████████████████████████████████████████████████████████████| 8/8 [00:00<?, ?it/s] Extracting data files: 100%|████████████████████████████████████████████████████████████| 8/8 [00:00<00:00, 574.26it/s] Dataset imagefolder downloaded and prepared to C:/Users/x'x/.cache/huggingface/datasets/imagefolder/default-d837f123b878dd2b/0.0.0/37fbb85cc714a338bea574ac6c7d0b5be5aff46c1862c1989b20e0771199e93f. Subsequent calls will reuse this data. 100%|████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 61.79it/s] 2023-09-13 21:58:48,573 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 09/13/2023 21:58:49 - INFO - main - Running training 09/13/2023 21:58:49 - INFO - main - Num examples = 8 09/13/2023 21:58:49 - INFO - main - Num Epochs = 400 09/13/2023 21:58:49 - INFO - main - Instantaneous batch size per device = 1 09/13/2023 21:58:49 - INFO - main - Total train batch size (w. parallel, distributed & accumulation) = 4 09/13/2023 21:58:49 - INFO - main - Gradient Accumulation steps = 4 09/13/2023 21:58:49 - INFO - main - Total optimization steps = 800 Steps: 0%| | 0/800 [00:00<?, ?it/s]2023-09-13 21:58:49,845 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:51,100 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:52,357 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK" 2023-09-13 21:58:53,614 - httpx - HTTP Request: POST http://127.0.0.1:7860/api/predict "HTTP/1.1 200 OK"

bubbliiiing commented 1 year ago

This appears to be fine now. Are there any remaining uncertainties or issues in the current code?

xx19971118 commented 1 year ago

按照以上的流程,最终输出没有以id命名的模型,web ui没法调用相应模型,是不是前端报error的问题呢

wuziheng commented 1 year ago

@xx19971118 能否使用README 提供的完整的镜像再做一次尝试。