PaddleX
PaddleX copied to clipboard
demo训练失败 Currently not a parallel execution environment
Checklist:
This log file path is D:\PythonProject\resful_space\projects\P0001\T0012\err.log
注意:标志为WARNING/INFO类的仅为警告或提示类信息,非错误信息
D:\Python\Python38\lib\site-packages\paddle\fluid\framework.py:311: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
warnings.warn(
D:\Python\Python38\lib\site-packages\paddle\distributed\parallel.py:135: UserWarning: Currently not a parallel execution environment, paddle.distributed.init_parallel_env will not do anything.
warnings.warn(
环境
-
2021-11-6 从git中下载的developer环境,在浏览器点击训练后提示上述问题
-
Windows10
-
Python3.8
-
CUDA=10.1.104
看下D:\PythonProject\resful_space\projects\P0001\T0012\err.log这里面的错误提示
看下D:\PythonProject\resful_space\projects\P0001\T0012\err.log这里面的错误提示
我也出现了这样的问题,以下是log文件的内容:
2021-11-15 16:00:09 [INFO] Starting to read file list from dataset... 2021-11-15 16:00:22 [INFO] 4250 samples in file datasets/HelmetDetection/train_list.txt, including 4250 positive samples and 0 negative samples. creating index... index created! 2021-11-15 16:00:22 [INFO] Starting to read file list from dataset... 2021-11-15 16:00:24 [INFO] 750 samples in file datasets/HelmetDetection/val_list.txt, including 750 positive samples and 0 negative samples. creating index... index created! 2021-11-15 16:00:24 [WARNING] Extremely small objects found. 1 of 21799 labels are < 3 pixels in width or height 2021-11-15 16:00:24 [INFO] Running kmeans for 9 anchors on 21799 points... 2021-11-15 16:00:46 [INFO] Loading pretrained model from output/yolov3_darknet53/pretrain/yolov3_darknet53_270e_coco.pdparams 2021-11-15 16:00:48 [WARNING] [SKIP] Shape of pretrained params yolo_head.yolo_output.0.weight doesn't match.(Pretrained: [255, 1024, 1, 1], Actual: [24, 1024, 1, 1]) 2021-11-15 16:00:48 [WARNING] [SKIP] Shape of pretrained params yolo_head.yolo_output.0.bias doesn't match.(Pretrained: [255], Actual: [24]) 2021-11-15 16:00:48 [WARNING] [SKIP] Shape of pretrained params yolo_head.yolo_output.1.weight doesn't match.(Pretrained: [255, 512, 1, 1], Actual: [24, 512, 1, 1]) 2021-11-15 16:00:48 [WARNING] [SKIP] Shape of pretrained params yolo_head.yolo_output.1.bias doesn't match.(Pretrained: [255], Actual: [24]) 2021-11-15 16:00:48 [WARNING] [SKIP] Shape of pretrained params yolo_head.yolo_output.2.weight doesn't match.(Pretrained: [255, 256, 1, 1], Actual: [24, 256, 1, 1]) 2021-11-15 16:00:48 [WARNING] [SKIP] Shape of pretrained params yolo_head.yolo_output.2.bias doesn't match.(Pretrained: [255], Actual: [24]) 2021-11-15 16:00:49 [INFO] There are 360/366 variables loaded into YOLOv3.
参考FQA Q2先找下错误信息