Is it possible to generate Cuda code with the GPU Coder from a faster RCNN object Detector?

1 view (last 30 days)
Hello,
I trained a faster RCNN detector on MATLAB to detect a custom object. This worked in MATLAB very well. As a next step I want to run the detector on a NVIDIA Jetson TX2. So I tried to generate CUDA code with the GPU Coder. But the Coder doesn't recognize the detect function. Is there a way to generate CUDA for object detection with a faster RCNN detector with the GPU Coder?
Thank you very much!

Accepted Answer

Stefanie Schwarz
Stefanie Schwarz on 17 Oct 2018
As of MATLAB R2018b, we unfortunately do not support the R-CNN detection with GPU Coder. Currently, we only support the function 'matchFeatures' from the Computer Vision System Toolbox, but not 'detect'. We are moving forward to integrate this capability in future releases.
As for alternatives, we think YOLO will be your best bet. Alexnet and Squeeze will identify objects on the screen, but it does not provide the coordinates of the object.
Potentially you can try something like the Traffic Sign Detection and Recognition example where a YOLO-like DNN is used to detect objects, and a 2nd DNN is used to identify the object.
You may refer to the links below for other deep learning/object detection features currently supported by GPU Coder:
  2 Comments
Antoine Lasfargeas
Antoine Lasfargeas on 28 Oct 2020
Hello,
Is there nowadays any way to use the GPU coder with Faster R-CNN? I just want to deploy Faster R-CNN to an Nvidia Jetson Nano device.
Thank you in advance,
MAHSHAN AWAN
MAHSHAN AWAN on 20 Mar 2022
Hi there
Can someone please comment whether GPU coder (2021b or 2022a) supports detect function for Faster R-CNN?
Thank you in advance

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with GPU Coder in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!