Corrupted image while training in YOLOv5 #4525
-
When I am training on custom dataset, the model is not accepting the images and prompts the error of corrupted image, sharing screenshot for same. Please provide the solution as 90% of the dataset is not considered. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@kashishgoyal31 this indicates that your jpegs have corruptions issues. You can resolve this by loading and saving these each with cv2 for example. We don't do this automatically because this is an indicator that your jpegs may be incomplete or have serious problems. |
Beta Was this translation helpful? Give feedback.
-
Sir I have around 3000 images and all arr of similar quality and clicked
with same directiona. While training few images are being read and rest
it's showing corrupted. Also the image is getting opened in windows without
any error message.
Regards
Kashish Goyal
…On Tue, 24 Aug, 2021, 3:49 pm Glenn Jocher, ***@***.***> wrote:
@kashishgoyal31 <https://github.com/kashishgoyal31> this indicates that
your jpegs have corruptions issues. You can resolve this by loading and
saving these each with cv2 for example. We don't do this automatically
because this is an indicator that your jpegs may be incomplete or have
serious problems.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4525 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVHEQRKJVNSAPJL22UGH5HTT6NW27ANCNFSM5CWDNRKA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Beta Was this translation helpful? Give feedback.
@kashishgoyal31 this indicates that your jpegs have corruptions issues. You can resolve this by loading and saving these each with cv2 for example. We don't do this automatically because this is an indicator that your jpegs may be incomplete or have serious problems.