Yolo3 training prompts that pictures cannot be loaded. I carefully compared the previous training sets, and found that the previous picture format was “.JPG”, the training format was “.JPEG”, and the error path was also “.JPG”. I tried to change the picture format to “.JPG” and found that I could successfully train.
Batch change suffix:
Execute in the directory where the picture is located
rename 's/\.jpeg/.jpg/' *.jpeg
Similar Posts:
- [How to Solve] invalid argument: Nan in summary histogram for: image_pooling/BatchNorm/moving_variance_1
- [Solved] yolov3 Error: cuda error: out of memory darknet: ./src/cuda.c:36: check_error: Assertion `0′ failed.
- [Solved] An error occurred when paddlepaddle iterated data: typeerror: ‘function’ object is not iterative
- Solutions to the channel problem of PIL PNG format
- Tensorflowcenter {typeerror} non hashable type: “numpy. Ndarray”
- RuntimeError: DataLoader worker (pid(s) 24632, 26892, 10480, 2964) exited unexpectedly
- tf.data.Dataset.from_tensor_slices: How to Use shuffle(), repeat(), batch()
- Preservation and recovery of TF. Train. Saver () model of tensorflow
- [Solved] Pytorch load pre-training model Error: modulenotfounderror: no module named ‘models’
- Detailed explanation of yolo2 — yolo9000, better, faster, stronger