GPU Coder won't accept ACF Object Detector model
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
John Rahman
le 6 Jan 2022
Réponse apportée : John Rahman
le 10 Jan 2022
We have a need to identify specific objects in binary (BW) images. I successfuly trained an ACF Object Detector model to run on CPU hardware, but we need this code to run on a GPU based system. However the MATLAB GPU Coder rejected the ACF Object Detector model with this error message:
Error determining type for input '<detector-name>: detector'.
Class acfObjectDetector is not supported by coder.Type as it is a handle class.
Does the GPU Coder accept any of the MATLAB image detection/analysis tools like YOLO or CNN?
0 commentaires
Réponse acceptée
Pratyush Roy
le 10 Jan 2022
Hi John,
Currently we are not supporting the feature for Code Generation for the ACF Detector Function. The error shows up since handle class objects are not supported as input or output from mex files.
As a workaround, you can convert the object into a struct and use the toStruct function to pass the acfObjectDetector object into generated code. Please refer to this link for more information.
Hope this helps!
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!