Error training Yolo V4 object detector
Hi,
I am running the scripts in Gazebo Simulation of Semi-Structured Intelligent Bin Picking for UR5e Using YOLO and PCA-Based Object Detection example and everthing works well. However, when I try to train the detector by using the trainYoloV4ForSimCuboidObject.mlx live script, I get this error:
Intermediate dot ‘.’ indexing produced a comma-separated list with 0 values, but it must produce a single value when followed by subsequent indexing operations.
Error in deep.internal.sdk.forwardDataAttributes>iForwardExampleInputsLayerGraph (line 250)
plY{i} = layerAnalyzer.Outputs.Meta{1};
Error in deep.internal.sdk.forwardDataAttributes (line 69)
[sizes, formats] = iForwardExampleInputsLayerGraph(net, opts.Outputs, X{:});
Error in yolov4ObjectDetector>iConfigureDetector (line 1884)
[orderedNetworkActivationSizes, ~] = deep.internal.sdk.forwardDataAttributes(lgraph,’Outputs’,orderedDetectionNetworkSource);
Error in yolov4ObjectDetector/parseDetectorInputs (line 1161)
[lgraph, params.DetectionNetworkSource] = iConfigureDetector(lgraph,numClasses,params.AnchorBoxes,params.DetectionNetworkSource,params.PredictedBoxType);
Error in yolov4ObjectDetector (line 286)
params = yolov4ObjectDetector.parseDetectorInputs(varargin{:});
I didn’t change anything and I provided the recommended donwnloaded dataset folders. So, what could be the cause of this error?Hi,
I am running the scripts in Gazebo Simulation of Semi-Structured Intelligent Bin Picking for UR5e Using YOLO and PCA-Based Object Detection example and everthing works well. However, when I try to train the detector by using the trainYoloV4ForSimCuboidObject.mlx live script, I get this error:
Intermediate dot ‘.’ indexing produced a comma-separated list with 0 values, but it must produce a single value when followed by subsequent indexing operations.
Error in deep.internal.sdk.forwardDataAttributes>iForwardExampleInputsLayerGraph (line 250)
plY{i} = layerAnalyzer.Outputs.Meta{1};
Error in deep.internal.sdk.forwardDataAttributes (line 69)
[sizes, formats] = iForwardExampleInputsLayerGraph(net, opts.Outputs, X{:});
Error in yolov4ObjectDetector>iConfigureDetector (line 1884)
[orderedNetworkActivationSizes, ~] = deep.internal.sdk.forwardDataAttributes(lgraph,’Outputs’,orderedDetectionNetworkSource);
Error in yolov4ObjectDetector/parseDetectorInputs (line 1161)
[lgraph, params.DetectionNetworkSource] = iConfigureDetector(lgraph,numClasses,params.AnchorBoxes,params.DetectionNetworkSource,params.PredictedBoxType);
Error in yolov4ObjectDetector (line 286)
params = yolov4ObjectDetector.parseDetectorInputs(varargin{:});
I didn’t change anything and I provided the recommended donwnloaded dataset folders. So, what could be the cause of this error? Hi,
I am running the scripts in Gazebo Simulation of Semi-Structured Intelligent Bin Picking for UR5e Using YOLO and PCA-Based Object Detection example and everthing works well. However, when I try to train the detector by using the trainYoloV4ForSimCuboidObject.mlx live script, I get this error:
Intermediate dot ‘.’ indexing produced a comma-separated list with 0 values, but it must produce a single value when followed by subsequent indexing operations.
Error in deep.internal.sdk.forwardDataAttributes>iForwardExampleInputsLayerGraph (line 250)
plY{i} = layerAnalyzer.Outputs.Meta{1};
Error in deep.internal.sdk.forwardDataAttributes (line 69)
[sizes, formats] = iForwardExampleInputsLayerGraph(net, opts.Outputs, X{:});
Error in yolov4ObjectDetector>iConfigureDetector (line 1884)
[orderedNetworkActivationSizes, ~] = deep.internal.sdk.forwardDataAttributes(lgraph,’Outputs’,orderedDetectionNetworkSource);
Error in yolov4ObjectDetector/parseDetectorInputs (line 1161)
[lgraph, params.DetectionNetworkSource] = iConfigureDetector(lgraph,numClasses,params.AnchorBoxes,params.DetectionNetworkSource,params.PredictedBoxType);
Error in yolov4ObjectDetector (line 286)
params = yolov4ObjectDetector.parseDetectorInputs(varargin{:});
I didn’t change anything and I provided the recommended donwnloaded dataset folders. So, what could be the cause of this error? training, computer vision, yolo v4 MATLAB Answers — New Questions