Hi
Trying to run the following code on GPUCoder and error that trainYOLOv2ObjectDetector is not supported.
[detector,info] = trainYOLOv2ObjectDetector(trainingData,lgraph,options);
If the above code is not supported by the GPU coder, what are the alternatives to accelerate YOLOV2 training process?
Regards

 채택된 답변

Shivam Singh
Shivam Singh 2021년 12월 3일

0 개 추천

Hello gil,
Code generation using GPU Coder™ for trainYOLOv2ObjectDetector is not supported.
Yolov2 training process can be accelerated by using GPUs.
[detector,info] = trainYOLOv2ObjectDetector(trainingData,lgraph,options);
To access the GPUs, you can set the “options” in the trainYOLOv2ObjectDetector function, by referring the ExecutionEnvironment in the trainingOptions function.
Once the detector is trained and evaluated, then you can generate code for the yolov2ObjectDetector using GPU Coder™. For more information related to Code generation using GPU Coder™, you can refer the following:

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Object Detection and Recognition Applications에 대해 자세히 알아보기

제품

릴리스

R2021b

태그

질문:

gil
2021년 11월 29일

답변:

2021년 12월 3일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by