Error while generation detector results
I am using Yolov4 with darknet-53-coco. I have trained the detector but unable to generate detector results using
detectionResults = detect(detector,testData,Threshold=0.01);
After running the code I am getting the following error
Error using dlnetwork/predict
Execution failed during layer(s) ‘conv_2’.
Error in yolov4ObjectDetector>iPredictActivations (line 1223)
[features{:}] = predict(network, dlX, ‘Acceleration’,acceleration);
Error in yolov4ObjectDetector/predict (line 555)
features = iPredictActivations(network, imgBatch, anchorBoxes, predictParams.Acceleration, isRotatedBox);
Error in vision.internal.detector.ObjectDetector/performDetect (line 72)
features = this.predict(Ipreprocessed, params);
Error in yolov4ObjectDetector/detect (line 441)
[varargout{1:nargout}] = performDetect(detector, I, params);
Caused by:
Error using builtin
Out of memory.I am using Yolov4 with darknet-53-coco. I have trained the detector but unable to generate detector results using
detectionResults = detect(detector,testData,Threshold=0.01);
After running the code I am getting the following error
Error using dlnetwork/predict
Execution failed during layer(s) ‘conv_2’.
Error in yolov4ObjectDetector>iPredictActivations (line 1223)
[features{:}] = predict(network, dlX, ‘Acceleration’,acceleration);
Error in yolov4ObjectDetector/predict (line 555)
features = iPredictActivations(network, imgBatch, anchorBoxes, predictParams.Acceleration, isRotatedBox);
Error in vision.internal.detector.ObjectDetector/performDetect (line 72)
features = this.predict(Ipreprocessed, params);
Error in yolov4ObjectDetector/detect (line 441)
[varargout{1:nargout}] = performDetect(detector, I, params);
Caused by:
Error using builtin
Out of memory. I am using Yolov4 with darknet-53-coco. I have trained the detector but unable to generate detector results using
detectionResults = detect(detector,testData,Threshold=0.01);
After running the code I am getting the following error
Error using dlnetwork/predict
Execution failed during layer(s) ‘conv_2’.
Error in yolov4ObjectDetector>iPredictActivations (line 1223)
[features{:}] = predict(network, dlX, ‘Acceleration’,acceleration);
Error in yolov4ObjectDetector/predict (line 555)
features = iPredictActivations(network, imgBatch, anchorBoxes, predictParams.Acceleration, isRotatedBox);
Error in vision.internal.detector.ObjectDetector/performDetect (line 72)
features = this.predict(Ipreprocessed, params);
Error in yolov4ObjectDetector/detect (line 441)
[varargout{1:nargout}] = performDetect(detector, I, params);
Caused by:
Error using builtin
Out of memory. yolov4, object detection MATLAB Answers — New Questions