the value of validation data is invalid

조회 수: 10 (최근 30일)
kavitha kethavath
kavitha kethavath 2020년 5월 1일
답변: Ajay 2023년 1월 19일
the value of validation data is invalid. augmenetedImageDataStore cannot form MiniBatches of data because input image sizes differ in 3rd dimension. Consider using colorPreprocessing option to ensure all augmented images have same number of channels.
this is the error raised while training my own image dataset.help me?
  댓글 수: 2
Neus Alcon
Neus Alcon 2020년 5월 20일
Hi!
I'm trying to trin a Neural network and I have the same error... Did you solve it? Actually I don't know what I have to do to fix that error. Could you help me please? I would be very greatful!
Thanks
Nur Alia Aqila Md Zin
Nur Alia Aqila Md Zin 2021년 5월 19일
Hi Kavitha Kethavath & Neus Alcon!
Did you guys solve it? I have the same error but did not know how to fix it. Could you help me please? Because my result depends on this project. I would be very greatful if you guys help me to fix this. Please!!!
Thank you

댓글을 달려면 로그인하십시오.

답변 (2개)

Shubh Sahu
Shubh Sahu 2020년 5월 4일
It seems that the images in Input dosen't have consistent channel. To know more on RGB channel you can go to this link. augmentedimagedatastor works only with consistent number of channel in each image. Please use ColorPrerocessing to make channel consistent. For more information you can look into the following link.
  댓글 수: 1
Nur Alia Aqila Md Zin
Nur Alia Aqila Md Zin 2021년 5월 19일
Hi!
I did not understand how to do the ColourPreprocessing as I already read all the link you gave. But still I didn't understand how to do it. I'm trying to train the network using Deep Network Design Toolbox. Please help me to fix this problem. Thank you

댓글을 달려면 로그인하십시오.


Ajay
Ajay 2023년 1월 19일
Please help me i have also same problem

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by