imageLabeler automation algorithm not recognized

2 visualizaciones (últimos 30 días)
Alexander Fraser
Alexander Fraser el 15 de Jul. de 2020
Respondida: Ulli Srinivasu el 15 de Sept. de 2020
Hello,
I am having trouble with using a script I wrote using the AutomationAlgorithm class template in imageLabeler. It uses an RCNN to identify objects to speed up labeling training data. It used to work, but now it no longer loads into imageLabeler and when I try to import it i get an error message saying "The vision.labeler.myAutomationAlgorithm is not an automation algorithm". I had not changed the code since it was functional, so I am very confused as to what is wrong. I have since gone through line by line making sure I have all the same methods as the reference template. I have tried implementing some simple dummy methods for optional methods in the class template, but that didn't help either. I've tried searching the documentation and online and have found no references to this error message even existing! I'm really just baffled at what is wrong, since it seems like nothing is wrong.

Respuestas (1)

Ulli Srinivasu
Ulli Srinivasu el 15 de Sept. de 2020
Hi Alexander,
I understood that you are not able to import the custom algorithm which you created by following the template provided. I assume that you have properly initialized all the methods which are required to set up a custom automation algorithm.
I guess you may have not create a proper folder structure to save the created custom algorithm. Create a +vision/+labeler/ folder within a folder that is on the MATLAB® path. For example, if the folder /local/MyProject is on the MATLAB path, then create the +vision/+labeler/. The resulting folder is located at /local/MyProject/+vision/+labeler. Save your algorithm in the created path /local/MyProject/+vision/+labeler.
Use the following steps to create a folder structure:
projectFolder = fullfile('local','MyProject');
automationFolder = fullfile('+vision','+labeler');
mkdir(projectFolder,automationFolder)
You can get more information about the creation and import workflow for the custom algorithm from the following doc link

Community Treasure Hunt

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

Start Hunting!

Translated by