AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.73k stars 7.96k forks source link

Cannot load image when processing a list of images #5623

Closed Zy1013921842 closed 4 years ago

Zy1013921842 commented 4 years ago

Thank you for your brilliant work! Here is a problem I encountered after successfully trained a yolov4 model:

I can test on single image using this command: ./darknet detector test cfg/coco.data cfg/yolov4.cfg yolov4.weights -thresh 0.25 without any problem. But I failed when testing on my validation list of images with this command: ./darknet detector test cfg/coco.data cfg/yolov4.cfg yolov4.weights -ext_output -dont_show -out result.json < data/val.txt. It throws such an error: "Enter image path: cannot load image "......(the image path of my validation images)""

But these validation images can be loaded without problem when training with map calculated, I'm really confuesd.

Appreciate your help!

Zy1013921842 commented 4 years ago

Anybody's help is appreciated! Please save little kid ^_^

AlexeyAB commented 4 years ago

Show full screen screenshot of this error

Zy1013921842 commented 4 years ago

Show full screen screenshot of this error

Hi, AB! Here is my running information:

opt@opt-SYS-7048GR-TR:~/darknet$ ./darknet detector test /home/opt/darknet/build/darknet/x64/data/CHUZHOU9BB.data /home/opt/darknet/cfg/yolov4-CHUZHOU9BB.cfg /home/opt/zhaoyang/data/yolov4/output/nooversample_nox4/yolov4-CHUZHOU9BB_36000.weights -ext_output -dont_show -out /home/opt/zhaoyang/data/yolov4/output/result/result.json </home/opt/zhaoyang/data/yolov4/val_set/val.txt CUDA-version: 10000 (10020), cuDNN: 7.4.1, CUDNN_HALF=1, GPU count: 3
CUDNN_HALF=1 OpenCV version: 3.2.0 0 : compute_capability = 750, cudnn_half = 1, GPU: GeForce RTX 2080 Ti net.optimized_memory = 0 mini_batch = 1, batch = 16, time_steps = 1, train = 0 layer filters size/strd(dil) input output 0 conv 32 3 x 3/ 1 416 x 416 x 3 -> 416 x 416 x 32 0.299 BF 1 conv 64 3 x 3/ 2 416 x 416 x 32 -> 208 x 208 x 64 1.595 BF 2 conv 64 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 64 0.354 BF 3 route 1 -> 208 x 208 x 64 4 conv 64 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 64 0.354 BF 5 conv 32 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 32 0.177 BF 6 conv 64 3 x 3/ 1 208 x 208 x 32 -> 208 x 208 x 64 1.595 BF 7 Shortcut Layer: 4, wt = 0, wn = 0, outputs: 208 x 208 x 64 0.003 BF 8 conv 64 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 64 0.354 BF 9 route 8 2 -> 208 x 208 x 128 10 conv 64 1 x 1/ 1 208 x 208 x 128 -> 208 x 208 x 64 0.709 BF 11 conv 128 3 x 3/ 2 208 x 208 x 64 -> 104 x 104 x 128 1.595 BF 12 conv 64 1 x 1/ 1 104 x 104 x 128 -> 104 x 104 x 64 0.177 BF 13 route 11 -> 104 x 104 x 128 14 conv 64 1 x 1/ 1 104 x 104 x 128 -> 104 x 104 x 64 0.177 BF 15 conv 64 1 x 1/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.089 BF 16 conv 64 3 x 3/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.797 BF 17 Shortcut Layer: 14, wt = 0, wn = 0, outputs: 104 x 104 x 64 0.001 BF 18 conv 64 1 x 1/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.089 BF 19 conv 64 3 x 3/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.797 BF 20 Shortcut Layer: 17, wt = 0, wn = 0, outputs: 104 x 104 x 64 0.001 BF 21 conv 64 1 x 1/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.089 BF 22 route 21 12 -> 104 x 104 x 128 23 conv 128 1 x 1/ 1 104 x 104 x 128 -> 104 x 104 x 128 0.354 BF 24 conv 256 3 x 3/ 2 104 x 104 x 128 -> 52 x 52 x 256 1.595 BF 25 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 26 route 24 -> 52 x 52 x 256 27 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 28 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 29 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 30 Shortcut Layer: 27, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 31 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 32 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 33 Shortcut Layer: 30, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 34 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 35 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 36 Shortcut Layer: 33, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 37 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 38 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 39 Shortcut Layer: 36, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 40 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 41 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 42 Shortcut Layer: 39, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 43 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 44 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 45 Shortcut Layer: 42, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 46 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 47 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 48 Shortcut Layer: 45, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 49 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 50 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 51 Shortcut Layer: 48, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 52 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 53 route 52 25 -> 52 x 52 x 256 54 conv 256 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 256 0.354 BF 55 conv 512 3 x 3/ 2 52 x 52 x 256 -> 26 x 26 x 512 1.595 BF 56 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 57 route 55 -> 26 x 26 x 512 58 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 59 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 60 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 61 Shortcut Layer: 58, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 62 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 63 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 64 Shortcut Layer: 61, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 65 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 66 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 67 Shortcut Layer: 64, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 68 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 69 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 70 Shortcut Layer: 67, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 71 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 72 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 73 Shortcut Layer: 70, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 74 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 75 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 76 Shortcut Layer: 73, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 77 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 78 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 79 Shortcut Layer: 76, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 80 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 81 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 82 Shortcut Layer: 79, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 83 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 84 route 83 56 -> 26 x 26 x 512 85 conv 512 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 512 0.354 BF 86 conv 1024 3 x 3/ 2 26 x 26 x 512 -> 13 x 13 x1024 1.595 BF 87 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 88 route 86 -> 13 x 13 x1024 89 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 90 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 91 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 92 Shortcut Layer: 89, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 93 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 94 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 95 Shortcut Layer: 92, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 96 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 97 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 98 Shortcut Layer: 95, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 99 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 100 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 101 Shortcut Layer: 98, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 102 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 103 route 102 87 -> 13 x 13 x1024 104 conv 1024 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x1024 0.354 BF 105 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 106 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 107 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 108 max 5x 5/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.002 BF 109 route 107 -> 13 x 13 x 512 110 max 9x 9/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.007 BF 111 route 107 -> 13 x 13 x 512 112 max 13x13/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.015 BF 113 route 112 110 108 107 -> 13 x 13 x2048 114 conv 512 1 x 1/ 1 13 x 13 x2048 -> 13 x 13 x 512 0.354 BF 115 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 116 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 117 conv 256 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 256 0.044 BF 118 upsample 2x 13 x 13 x 256 -> 26 x 26 x 256 119 route 85 -> 26 x 26 x 512 120 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 121 route 120 118 -> 26 x 26 x 512 122 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 123 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 124 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 125 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 126 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 127 conv 128 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 128 0.044 BF 128 upsample 2x 26 x 26 x 128 -> 52 x 52 x 128 129 route 54 -> 52 x 52 x 256 130 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 131 route 130 128 -> 52 x 52 x 256 132 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 133 conv 256 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 256 1.595 BF 134 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 135 conv 256 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 256 1.595 BF 136 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 137 conv 256 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 256 1.595 BF 138 conv 57 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 57 0.079 BF 139 yolo [yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.20 nms_kind: greedynms (1), beta = 0.600000 140 route 136 -> 52 x 52 x 128 141 conv 256 3 x 3/ 2 52 x 52 x 128 -> 26 x 26 x 256 0.399 BF 142 route 141 126 -> 26 x 26 x 512 143 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 144 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 145 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 146 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 147 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 148 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 149 conv 57 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 57 0.039 BF 150 yolo [yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.10 nms_kind: greedynms (1), beta = 0.600000 151 route 147 -> 26 x 26 x 256 152 conv 512 3 x 3/ 2 26 x 26 x 256 -> 13 x 13 x 512 0.399 BF 153 route 152 116 -> 13 x 13 x1024 154 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 155 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 156 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 157 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 158 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 159 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 160 conv 57 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 57 0.020 BF 161 yolo [yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.05 nms_kind: greedynms (1), beta = 0.600000 Total BFLOPS 59.657 avg_outputs = 491487 Allocate additional workspace_size = 52.43 MB Loading weights from /home/opt/zhaoyang/data/yolov4/output/nooversample_nox4/yolov4-CHUZHOU9BB_36000.weights... seen 64, trained: 2304 K-images (36 Kilo-batches_64) Done! Loaded 162 layers from weights-file Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N1_1_1.jpg : Predicted in 14.387000 milli-seconds.images/111111111111111111111_jpg_N1_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N2_1_1.jpg : Predicted in 14.231000 milli-seconds.images/111111111111111111111_jpg_N2_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N2_2_1.jpg : Predicted in 14.192000 milli-seconds.images/111111111111111111111_jpg_N2_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N3_1_1.jpg : Predicted in 15.450000 milli-seconds.images/111111111111111111111_jpg_N3_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N4_1_1.jpg : Predicted in 14.342000 milli-seconds.images/111111111111111111111_jpg_N4_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N5_1_1.jpg : Predicted in 15.304000 milli-seconds.images/111111111111111111111_jpg_N5_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N6_1_1.jpg : Predicted in 16.347000 milli-seconds.images/111111111111111111111_jpg_N6_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/123456_jpg_N1_2_1.jpg : Predicted in 14.945000 milli-seconds.images/123456_jpg_N1_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/123456_jpg_N5_1_1.jpg : Predicted in 18.000000 milli-seconds.images/123456_jpg_N5_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/123456_jpg_N6_2_1.jpg : Predicted in 14.399000 milli-seconds.images/123456_jpg_N6_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/539-58-131-129-107_jpg_N4_1_1.jpg : Predicted in 18.075000 milli-seconds.images/539-58-131-129-107_jpg_N4_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/539-58-131-129-107_jpg_N4_2_1.jpg : Predicted in 14.303000 milli-seconds.images/539-58-131-129-107_jpg_N4_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/539-58-131-129-107_jpg_N5_1_1.jpg : Predicted in 14.781000 milli-seconds.images/539-58-131-129-107_jpg_N5_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/539-58-131-129-107_jpg_N5_2_1.jpg : Predicted in 11.114000 milli-seconds.images/539-58-131-129-107_jpg_N5_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/539-58-131-129-107_jpg_N6_1_1.jpg : Predicted in 12.301000 milli-seconds.images/539-58-131-129-107_jpg_N6_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/539-58-131-129-107_jpg_N6_2_1.jpg : Predicted in 12.308000 milli-seconds.images/539-58-131-129-107_jpg_N6_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/77_jpg_N1_1_1.jpg : Predicted in 11.102000 milli-seconds.images/77_jpg_N1_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/77_jpg_N3_1_1.jpg : Predicted in 11.807000 milli-seconds.images/77_jpg_N3_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100100059_jpg_N1_3_1.jpg : Predicted in 11.677000 milli-seconds.images/LRE904094200100100059_jpg_N1_3_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100100154_jpg_N4_2_1.jpg : Predicted in 11.210000 milli-seconds.images/LRE904094200100100154_jpg_N4_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100100154_jpg_N5_2_1.jpg : Predicted in 12.949000 milli-seconds.images/LRE904094200100100154_jpg_N5_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100100154_jpg_N6_2_1.jpg : Predicted in 11.139000 milli-seconds.images/LRE904094200100100154_jpg_N6_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100100242_jpg_N1_1_1.jpg : Predicted in 11.035000 milli-seconds.images/LRE904094200100100242_jpg_N1_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100100242_jpg_N1_2_1.jpg : Predicted in 12.290000 milli-seconds.images/LRE904094200100100242_jpg_N1_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100100242_jpg_N1_3_1.jpg : Predicted in 11.119000 milli-seconds.images/LRE904094200100100242_jpg_N1_3_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100100242_jpg_N6_1_1.jpg : Predicted in 11.445000 milli-seconds.images/LRE904094200100100242_jpg_N6_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100100269_jpg_N1_1_1.jpg : Predicted in 11.146000 milli-seconds.images/LRE904094200100100269_jpg_N1_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200014_jpg_N2_1_1.jpg : Predicted in 11.052000 milli-seconds.images/LRE904094200100200014_jpg_N2_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200014_jpg_N3_1_1.jpg : Predicted in 18.749000 milli-seconds.images/LRE904094200100200014_jpg_N3_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200014_jpg_N3_2_1.jpg : Predicted in 11.177000 milli-seconds.images/LRE904094200100200014_jpg_N3_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200014_jpg_N3_3_1.jpg : Predicted in 11.101000 milli-seconds.images/LRE904094200100200014_jpg_N3_3_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200014_jpg_N4_3_1.jpg : Predicted in 12.525000 milli-seconds.images/LRE904094200100200014_jpg_N4_3_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200021_jpg_N1_1_1.jpg : Predicted in 15.399000 milli-seconds.images/LRE904094200100200021_jpg_N1_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200021_jpg_N3_1_1.jpg : Predicted in 11.405000 milli-seconds.images/LRE904094200100200021_jpg_N3_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200021_jpg_N3_2_1.jpg : Predicted in 11.503000 milli-seconds.images/LRE904094200100200021_jpg_N3_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200021_jpg_N6_1_1.jpg : Predicted in 11.119000 milli-seconds.images/LRE904094200100200021_jpg_N6_1_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200029_jpg_N2_2_1.jpg : Predicted in 12.129000 milli-seconds.images/LRE904094200100200029_jpg_N2_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200029_jpg_N3_2_1.jpg : Predicted in 11.108000 milli-seconds.images/LRE904094200100200029_jpg_N3_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200029_jpg_N3_3_1.jpg : Predicted in 11.129000 milli-seconds.images/LRE904094200100200029_jpg_N3_3_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200029_jpg_N4_2_1.jpg : Predicted in 11.245000 milli-seconds.images/LRE904094200100200029_jpg_N4_2_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200029_jpg_N4_3_1.jpg : Predicted in 11.643000 milli-seconds.images/LRE904094200100200029_jpg_N4_3_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10) Enter Image Path: Cannot load image /home/opt/zhaoyang/data/yolov4/val_set/images/LRE904094200100200029_jpg_N5_3_1.jpg : Predicted in 11.039000 milli-seconds.images/LRE904094200100200029_jpg_N5_3_1.jpg BSD: 97% (left_x: 0 top_y: 0 width: 10 height: 10)

AlexeyAB commented 4 years ago

Does these 2 commands work well?

./darknet detector test /home/opt/darknet/build/darknet/x64/data/CHUZHOU9BB.data /home/opt/darknet/cfg/yolov4-CHUZHOU9BB.cfg /home/opt/zhaoyang/data/yolov4/output/nooversample_nox4/yolov4-CHUZHOU9BB_36000.weights -ext_output -dont_show /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N1_1_1.jpg

and

./darknet detector test /home/opt/darknet/build/darknet/x64/data/CHUZHOU9BB.data /home/opt/darknet/cfg/yolov4-CHUZHOU9BB.cfg /home/opt/zhaoyang/data/yolov4/output/nooversample_nox4/yolov4-CHUZHOU9BB_36000.weights -ext_output -dont_show -out /home/opt/zhaoyang/data/yolov4/output/result/result.json /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N1_1_1.jpg

Zy1013921842 commented 4 years ago

Does these 2 commands work well?

Yes! These 2 commands work well and generated a right json. Like below

./darknet detector test /home/opt/darknet/build/darknet/x64/data/CHUZHOU9BB.data /home/opt/darknet/cfg/yolov4-CHUZHOU9BB.cfg /home/opt/zhaoyang/data/yolov4/output/nooversample_nox4/yolov4-CHUZHOU9BB_36000.weights -ext_output -dont_show /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N1_1_1.jpg

and

./darknet detector test /home/opt/darknet/build/darknet/x64/data/CHUZHOU9BB.data /home/opt/darknet/cfg/yolov4-CHUZHOU9BB.cfg /home/opt/zhaoyang/data/yolov4/output/nooversample_nox4/yolov4-CHUZHOU9BB_36000.weights -ext_output -dont_show -out /home/opt/zhaoyang/data/yolov4/output/result/result.json /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N1_1_1.jpg

opt@opt-SYS-7048GR-TR:~/darknet$ ./darknet detector test /home/opt/darknet/build/darknet/x64/data/CHUZHOU9BB.data /home/opt/darknet/cfg/yolov4-CHUZHOU9BB.cfg /home/opt/zhaoyang/data/yolov4/output/nooversample_nox4/yolov4-CHUZHOU9BB_36000.weights -ext_output -dont_show /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N1_1_1.jpg CUDA-version: 10000 (10020), cuDNN: 7.4.1, CUDNN_HALF=1, GPU count: 3
CUDNN_HALF=1 OpenCV version: 3.2.0 0 : compute_capability = 750, cudnn_half = 1, GPU: GeForce RTX 2080 Ti net.optimized_memory = 0 mini_batch = 1, batch = 16, time_steps = 1, train = 0 layer filters size/strd(dil) input output 0 conv 32 3 x 3/ 1 416 x 416 x 3 -> 416 x 416 x 32 0.299 BF 1 conv 64 3 x 3/ 2 416 x 416 x 32 -> 208 x 208 x 64 1.595 BF 2 conv 64 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 64 0.354 BF 3 route 1 -> 208 x 208 x 64 4 conv 64 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 64 0.354 BF 5 conv 32 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 32 0.177 BF 6 conv 64 3 x 3/ 1 208 x 208 x 32 -> 208 x 208 x 64 1.595 BF 7 Shortcut Layer: 4, wt = 0, wn = 0, outputs: 208 x 208 x 64 0.003 BF 8 conv 64 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 64 0.354 BF 9 route 8 2 -> 208 x 208 x 128 10 conv 64 1 x 1/ 1 208 x 208 x 128 -> 208 x 208 x 64 0.709 BF 11 conv 128 3 x 3/ 2 208 x 208 x 64 -> 104 x 104 x 128 1.595 BF 12 conv 64 1 x 1/ 1 104 x 104 x 128 -> 104 x 104 x 64 0.177 BF 13 route 11 -> 104 x 104 x 128 14 conv 64 1 x 1/ 1 104 x 104 x 128 -> 104 x 104 x 64 0.177 BF 15 conv 64 1 x 1/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.089 BF 16 conv 64 3 x 3/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.797 BF 17 Shortcut Layer: 14, wt = 0, wn = 0, outputs: 104 x 104 x 64 0.001 BF 18 conv 64 1 x 1/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.089 BF 19 conv 64 3 x 3/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.797 BF 20 Shortcut Layer: 17, wt = 0, wn = 0, outputs: 104 x 104 x 64 0.001 BF 21 conv 64 1 x 1/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.089 BF 22 route 21 12 -> 104 x 104 x 128 23 conv 128 1 x 1/ 1 104 x 104 x 128 -> 104 x 104 x 128 0.354 BF 24 conv 256 3 x 3/ 2 104 x 104 x 128 -> 52 x 52 x 256 1.595 BF 25 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 26 route 24 -> 52 x 52 x 256 27 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 28 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 29 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 30 Shortcut Layer: 27, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 31 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 32 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 33 Shortcut Layer: 30, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 34 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 35 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 36 Shortcut Layer: 33, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 37 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 38 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 39 Shortcut Layer: 36, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 40 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 41 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 42 Shortcut Layer: 39, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 43 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 44 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 45 Shortcut Layer: 42, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 46 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 47 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 48 Shortcut Layer: 45, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 49 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 50 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 51 Shortcut Layer: 48, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 52 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 53 route 52 25 -> 52 x 52 x 256 54 conv 256 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 256 0.354 BF 55 conv 512 3 x 3/ 2 52 x 52 x 256 -> 26 x 26 x 512 1.595 BF 56 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 57 route 55 -> 26 x 26 x 512 58 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 59 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 60 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 61 Shortcut Layer: 58, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 62 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 63 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 64 Shortcut Layer: 61, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 65 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 66 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 67 Shortcut Layer: 64, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 68 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 69 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 70 Shortcut Layer: 67, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 71 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 72 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 73 Shortcut Layer: 70, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 74 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 75 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 76 Shortcut Layer: 73, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 77 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 78 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 79 Shortcut Layer: 76, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 80 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 81 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 82 Shortcut Layer: 79, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 83 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 84 route 83 56 -> 26 x 26 x 512 85 conv 512 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 512 0.354 BF 86 conv 1024 3 x 3/ 2 26 x 26 x 512 -> 13 x 13 x1024 1.595 BF 87 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 88 route 86 -> 13 x 13 x1024 89 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 90 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 91 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 92 Shortcut Layer: 89, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 93 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 94 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 95 Shortcut Layer: 92, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 96 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 97 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 98 Shortcut Layer: 95, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 99 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 100 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 101 Shortcut Layer: 98, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 102 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 103 route 102 87 -> 13 x 13 x1024 104 conv 1024 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x1024 0.354 BF 105 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 106 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 107 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 108 max 5x 5/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.002 BF 109 route 107 -> 13 x 13 x 512 110 max 9x 9/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.007 BF 111 route 107 -> 13 x 13 x 512 112 max 13x13/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.015 BF 113 route 112 110 108 107 -> 13 x 13 x2048 114 conv 512 1 x 1/ 1 13 x 13 x2048 -> 13 x 13 x 512 0.354 BF 115 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 116 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 117 conv 256 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 256 0.044 BF 118 upsample 2x 13 x 13 x 256 -> 26 x 26 x 256 119 route 85 -> 26 x 26 x 512 120 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 121 route 120 118 -> 26 x 26 x 512 122 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 123 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 124 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 125 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 126 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 127 conv 128 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 128 0.044 BF 128 upsample 2x 26 x 26 x 128 -> 52 x 52 x 128 129 route 54 -> 52 x 52 x 256 130 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 131 route 130 128 -> 52 x 52 x 256 132 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 133 conv 256 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 256 1.595 BF 134 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 135 conv 256 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 256 1.595 BF 136 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 137 conv 256 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 256 1.595 BF 138 conv 57 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 57 0.079 BF 139 yolo [yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.20 nms_kind: greedynms (1), beta = 0.600000 140 route 136 -> 52 x 52 x 128 141 conv 256 3 x 3/ 2 52 x 52 x 128 -> 26 x 26 x 256 0.399 BF 142 route 141 126 -> 26 x 26 x 512 143 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 144 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 145 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 146 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 147 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 148 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 149 conv 57 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 57 0.039 BF 150 yolo [yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.10 nms_kind: greedynms (1), beta = 0.600000 151 route 147 -> 26 x 26 x 256 152 conv 512 3 x 3/ 2 26 x 26 x 256 -> 13 x 13 x 512 0.399 BF 153 route 152 116 -> 13 x 13 x1024 154 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 155 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 156 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 157 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 158 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 159 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 160 conv 57 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 57 0.020 BF 161 yolo [yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.05 nms_kind: greedynms (1), beta = 0.600000 Total BFLOPS 59.657 avg_outputs = 491487 Allocate additional workspace_size = 52.43 MB Loading weights from /home/opt/zhaoyang/data/yolov4/output/nooversample_nox4/yolov4-CHUZHOU9BB_36000.weights... seen 64, trained: 2304 K-images (36 Kilo-batches_64) Done! Loaded 162 layers from weights-file /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N1_1_1.jpg: Predicted in 14.359000 milli-seconds. BSD: 98% (left_x: 24 top_y: 12 width: 764 height: 783) opt@opt-SYS-7048GR-TR:~/darknet$ ./darknet detector test /home/opt/darknet/build/darknet/x64/data/CHUZHOU9BB.data /home/opt/darknet/cfg/yolov4-CHUZHOU9BB.cfg /home/opt/zhaoyang/data/yolov4/output/nooversample_nox4/yolov4-CHUZHOU9BB_36000.weights -ext_output -dont_show -out /home/opt/zhaoyang/data/yolov4/output/result/result.json /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N1_1_1.jpg CUDA-version: 10000 (10020), cuDNN: 7.4.1, CUDNN_HALF=1, GPU count: 3
CUDNN_HALF=1 OpenCV version: 3.2.0 0 : compute_capability = 750, cudnn_half = 1, GPU: GeForce RTX 2080 Ti net.optimized_memory = 0 mini_batch = 1, batch = 16, time_steps = 1, train = 0 layer filters size/strd(dil) input output 0 conv 32 3 x 3/ 1 416 x 416 x 3 -> 416 x 416 x 32 0.299 BF 1 conv 64 3 x 3/ 2 416 x 416 x 32 -> 208 x 208 x 64 1.595 BF 2 conv 64 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 64 0.354 BF 3 route 1 -> 208 x 208 x 64 4 conv 64 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 64 0.354 BF 5 conv 32 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 32 0.177 BF 6 conv 64 3 x 3/ 1 208 x 208 x 32 -> 208 x 208 x 64 1.595 BF 7 Shortcut Layer: 4, wt = 0, wn = 0, outputs: 208 x 208 x 64 0.003 BF 8 conv 64 1 x 1/ 1 208 x 208 x 64 -> 208 x 208 x 64 0.354 BF 9 route 8 2 -> 208 x 208 x 128 10 conv 64 1 x 1/ 1 208 x 208 x 128 -> 208 x 208 x 64 0.709 BF 11 conv 128 3 x 3/ 2 208 x 208 x 64 -> 104 x 104 x 128 1.595 BF 12 conv 64 1 x 1/ 1 104 x 104 x 128 -> 104 x 104 x 64 0.177 BF 13 route 11 -> 104 x 104 x 128 14 conv 64 1 x 1/ 1 104 x 104 x 128 -> 104 x 104 x 64 0.177 BF 15 conv 64 1 x 1/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.089 BF 16 conv 64 3 x 3/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.797 BF 17 Shortcut Layer: 14, wt = 0, wn = 0, outputs: 104 x 104 x 64 0.001 BF 18 conv 64 1 x 1/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.089 BF 19 conv 64 3 x 3/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.797 BF 20 Shortcut Layer: 17, wt = 0, wn = 0, outputs: 104 x 104 x 64 0.001 BF 21 conv 64 1 x 1/ 1 104 x 104 x 64 -> 104 x 104 x 64 0.089 BF 22 route 21 12 -> 104 x 104 x 128 23 conv 128 1 x 1/ 1 104 x 104 x 128 -> 104 x 104 x 128 0.354 BF 24 conv 256 3 x 3/ 2 104 x 104 x 128 -> 52 x 52 x 256 1.595 BF 25 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 26 route 24 -> 52 x 52 x 256 27 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 28 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 29 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 30 Shortcut Layer: 27, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 31 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 32 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 33 Shortcut Layer: 30, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 34 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 35 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 36 Shortcut Layer: 33, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 37 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 38 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 39 Shortcut Layer: 36, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 40 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 41 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 42 Shortcut Layer: 39, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 43 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 44 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 45 Shortcut Layer: 42, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 46 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 47 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 48 Shortcut Layer: 45, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 49 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 50 conv 128 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.797 BF 51 Shortcut Layer: 48, wt = 0, wn = 0, outputs: 52 x 52 x 128 0.000 BF 52 conv 128 1 x 1/ 1 52 x 52 x 128 -> 52 x 52 x 128 0.089 BF 53 route 52 25 -> 52 x 52 x 256 54 conv 256 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 256 0.354 BF 55 conv 512 3 x 3/ 2 52 x 52 x 256 -> 26 x 26 x 512 1.595 BF 56 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 57 route 55 -> 26 x 26 x 512 58 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 59 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 60 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 61 Shortcut Layer: 58, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 62 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 63 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 64 Shortcut Layer: 61, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 65 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 66 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 67 Shortcut Layer: 64, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 68 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 69 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 70 Shortcut Layer: 67, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 71 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 72 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 73 Shortcut Layer: 70, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 74 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 75 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 76 Shortcut Layer: 73, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 77 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 78 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 79 Shortcut Layer: 76, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 80 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 81 conv 256 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.797 BF 82 Shortcut Layer: 79, wt = 0, wn = 0, outputs: 26 x 26 x 256 0.000 BF 83 conv 256 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 256 0.089 BF 84 route 83 56 -> 26 x 26 x 512 85 conv 512 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 512 0.354 BF 86 conv 1024 3 x 3/ 2 26 x 26 x 512 -> 13 x 13 x1024 1.595 BF 87 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 88 route 86 -> 13 x 13 x1024 89 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 90 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 91 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 92 Shortcut Layer: 89, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 93 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 94 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 95 Shortcut Layer: 92, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 96 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 97 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 98 Shortcut Layer: 95, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 99 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 100 conv 512 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.797 BF 101 Shortcut Layer: 98, wt = 0, wn = 0, outputs: 13 x 13 x 512 0.000 BF 102 conv 512 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.089 BF 103 route 102 87 -> 13 x 13 x1024 104 conv 1024 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x1024 0.354 BF 105 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 106 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 107 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 108 max 5x 5/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.002 BF 109 route 107 -> 13 x 13 x 512 110 max 9x 9/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.007 BF 111 route 107 -> 13 x 13 x 512 112 max 13x13/ 1 13 x 13 x 512 -> 13 x 13 x 512 0.015 BF 113 route 112 110 108 107 -> 13 x 13 x2048 114 conv 512 1 x 1/ 1 13 x 13 x2048 -> 13 x 13 x 512 0.354 BF 115 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 116 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 117 conv 256 1 x 1/ 1 13 x 13 x 512 -> 13 x 13 x 256 0.044 BF 118 upsample 2x 13 x 13 x 256 -> 26 x 26 x 256 119 route 85 -> 26 x 26 x 512 120 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 121 route 120 118 -> 26 x 26 x 512 122 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 123 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 124 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 125 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 126 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 127 conv 128 1 x 1/ 1 26 x 26 x 256 -> 26 x 26 x 128 0.044 BF 128 upsample 2x 26 x 26 x 128 -> 52 x 52 x 128 129 route 54 -> 52 x 52 x 256 130 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 131 route 130 128 -> 52 x 52 x 256 132 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 133 conv 256 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 256 1.595 BF 134 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 135 conv 256 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 256 1.595 BF 136 conv 128 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 128 0.177 BF 137 conv 256 3 x 3/ 1 52 x 52 x 128 -> 52 x 52 x 256 1.595 BF 138 conv 57 1 x 1/ 1 52 x 52 x 256 -> 52 x 52 x 57 0.079 BF 139 yolo [yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.20 nms_kind: greedynms (1), beta = 0.600000 140 route 136 -> 52 x 52 x 128 141 conv 256 3 x 3/ 2 52 x 52 x 128 -> 26 x 26 x 256 0.399 BF 142 route 141 126 -> 26 x 26 x 512 143 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 144 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 145 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 146 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 147 conv 256 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 256 0.177 BF 148 conv 512 3 x 3/ 1 26 x 26 x 256 -> 26 x 26 x 512 1.595 BF 149 conv 57 1 x 1/ 1 26 x 26 x 512 -> 26 x 26 x 57 0.039 BF 150 yolo [yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.10 nms_kind: greedynms (1), beta = 0.600000 151 route 147 -> 26 x 26 x 256 152 conv 512 3 x 3/ 2 26 x 26 x 256 -> 13 x 13 x 512 0.399 BF 153 route 152 116 -> 13 x 13 x1024 154 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 155 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 156 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 157 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 158 conv 512 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 512 0.177 BF 159 conv 1024 3 x 3/ 1 13 x 13 x 512 -> 13 x 13 x1024 1.595 BF 160 conv 57 1 x 1/ 1 13 x 13 x1024 -> 13 x 13 x 57 0.020 BF 161 yolo [yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.05 nms_kind: greedynms (1), beta = 0.600000 Total BFLOPS 59.657 avg_outputs = 491487 Allocate additional workspace_size = 52.43 MB Loading weights from /home/opt/zhaoyang/data/yolov4/output/nooversample_nox4/yolov4-CHUZHOU9BB_36000.weights... seen 64, trained: 2304 K-images (36 Kilo-batches_64) Done! Loaded 162 layers from weights-file /home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N1_1_1.jpg: Predicted in 14.253000 milli-seconds. BSD: 98% (left_x: 24 top_y: 12 width: 764 height: 783)

json: [ { "frame_id":1, "filename":"/home/opt/zhaoyang/data/yolov4/val_set/images/111111111111111111111_jpg_N1_1_1.jpg", "objects": [ {"class_id":6, "name":"BSD", "relative_coordinates":{"center_x":0.506799, "center_y":0.504686, "width":0.954454, "height":0.978958}, "confidence":0.976680} ] } ]

AlexeyAB commented 4 years ago

Also you can just ignore these error messages "Enter Image Path: Cannot load image", since all work well )

Zy1013921842 commented 4 years ago
* check your `val.txt` file for  empty lines

* do `dos2unix val.txt`

Also you can just ignore these error messages "Enter Image Path: Cannot load image", since all work well )

That's exactly it!!! Big thanks!!! Best wishes for you AB!!!

Zy1013921842 commented 4 years ago

As AB suggested, I did dos2unix val.txt and then the validation images can be loaded. Actually the val.txt was generated on windows and the darknet was installed on linux, that should be the reason. I found some people also encountered similar problem before, I hope this will help for you.

Closed

Thank to AB aaaaaagainnnnnn!!!

fenglinlie commented 4 years ago

python code from result.txt to imgs with boxes drawing on:https://github.com/fenglinlie/from-yolov3-result.txt-to-img. don't need to re-make darknet code