Invalid 'ValidationData' argument prevents other trainingOptions from loading properly
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello!
I created and trained a YOLOv4 object detector in which 'BatchNormalizationStatistics' is set to 'moving', 'ResetNormalizationLayer' is set to false, and 'ValidationData' is set to a datastore I created using about 10% of my training data. The training goes well and I save the resulting 'detector' and 'info' from the trainYOLOv4ObjectDetector function, as well as the 'options' (result from 'trainingOptions') used to train the network. If I then load these variables into an empty Matlab environment, everything goes fine, but if I relocate the directory containing the original datastores used to train the network before loading them, I get the following warning:
"Warning: While loading an object of class 'nnet.cnn.TrainingOptionsRMSProp': The value of 'ValidationData' is invalid. Unable to read file: 'Path\to\pngs\used\in\original\datastore'."
This causes ValidationData to be set to [], which would be fine and I expect that behavior. Unfortunately, all of my other trainingOptions ('BatchNormalizationStatistics', 'ResetNormalizationLayer', etc.) get reset to defaults, which prevents me from being able to build on the pre-existing network. This seems like it shouldn't be the case, especially since it is a 'warning' not an 'error'.
Would it be possible for Matlab to resolve this so that ValidationData gets reset to [] but everything else stays the same?
Thank you!
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!