ssd训练之bug:Invalid JPEG data or crop window, data size 565248

 bug information

1 tensorflow.python.framework.errors_impl.InvalidArgumentError: Invalid JPEG data or crop window, data size 32768
2 2      [[Node: DecodeJpeg_1 = DecodeJpeg[acceptable_fraction=1, channels=3, dct_method="", fancy_upscaling=true, ratio=1, try_recover_truncated=false, _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_DecodeJPGInput_0_0)]]

Because when we download pictures, download pictures appear incomplete or incomplete data when data enhancement, arise.

You need to find and remove abnormal picture

Normal picture

Download incomplete picture appears

 You can pick and remove the defective picture

turn

https://blog.csdn.net/kingroc/article/details/86692156

Guess you like

Origin www.cnblogs.com/bob-jianfeng/p/11182163.html