Hello guys, i am training network using 800 images with 5 classes... first i get this error after 3rd epoch and now after 7th epoch...
i am using this detector :
detector = yolov4ObjectDetector("csp-darknet53-coco",className,anchorBoxes,InputSize=inputSize);
Here are my training options:
options = trainingOptions("adam",...
GradientDecayFactor=0.9,...
SquaredGradientDecayFactor=0.999,...
InitialLearnRate=0.001,...
LearnRateSchedule="none",...
L2Regularization=0.0005,...
BatchNormalizationStatistics="moving",...
DispatchInBackground=true,...
ResetInputNormalization=false,...
Shuffle="every-epoch",...
ValidationFrequency=2000,...
CheckpointPath=tempdir,...
ValidationData=validationData);
and here is the error i keep getting ...
Error using matlab.io.datastore.TransformedDatastore/read
Invalid transform function defined on datastore.
Error in nnet.internal.cnn.DataLoader/manageReadQueue (line 206)
Error in nnet.internal.cnn.DataLoader/nextBatch (line 82)
Error in deep.internal.data.DatastoreDispatcher/readNextMiniBatchIntoCache (line 149)
nextMiniBatchAndSize = nextBatch(this.Dataloader);
Error in deep.internal.data.DatastoreDispatcher/next (line 59)
readNextMiniBatchIntoCache(this);
Error in deep.internal.data.BackgroundDispatcher>iCallNextOnPoolConstant (line 538)
[miniBatch, nextMiniBatchSize] = constantObject.Value.next();