YOLO V3 object detection
조회 수: 1 (최근 30일)
이전 댓글 표시
hello,,
i have a problem when i try to run yolov3 code i get error like
Error using matlab.io.datastore.internal.buildTransformedDatastore (line 56)
Expected a string scalar or character vector for the parameter name.
where the code in line 56 is
error(message("MATLAB:InputParser:ParamMustBeChar"));
the second error is
Error in matlab.io.Datastore/transform (line 367)
dsnew = matlab.io.datastore.internal.buildTransformedDatastore(varargin{:});
Error in Yolov3 (line 61)
preprocessedTrainingData = transform(augmentedTrainingData, @(data)preprocess(yolov3Detector),
data );
i have attached my code so please if you have any recomandtion let me know
댓글 수: 0
답변 (1개)
T.Nikhil kumar
2022년 7월 9일
Hey!
For the second error that you’re facing, I have noticed that you have typed a ‘)’ -- a closing bracket at the wrong position.
Your code at line 61:
preprocessedTrainingData = transform(augmentedTrainingData, @(data)preprocess(yolov3Detector), data);
Corrected line of code:
preprocessedTrainingData = transform(augmentedTrainingData, @(data)preprocess(yolov3Detector, data));
Regarding your first error, I have tried reproducing it by running your code on my system, but I did not face the same error. Also ,I have checked the code at the given line 56 and it is correct according to me. So, you should not be facing the first error
Hope this helps!
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!