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!