Hello,
I encountered an issue while using the RasterObjectDetectorSamplePreparer to prepare samples for the RasterObjectDetectorModelTrainer. My goal is to detect certain objects based on a digital orthophoto image. I created an annotation.txt file using OpenCV and provided the relative paths to the negative samples directory and the annotation file as inputs to the Sample Preparer transformer.
However, when running my workspace, I received the following translation log message:
Translation FAILED.
The translation was terminated due to the following feature:
RasterObjectDetectorSamplePreparer_<Rejected> (TeeFactory): RasterObjectDetectorSamplePreparer_<Rejected>: Termination Message: 'RasterObjectDetectorSamplePreparer output a <Rejected> feature. To continue translation when features are rejected, change 'Workspace Parameters' > Translation > 'Rejected Feature Handling' to 'Continue Translation''
The feature on tag `PYOUTPUT' failed to be output by the Bridge.
RasterObjectDetectorSamplePreparer_PythonCaller (PythonFactory): The PythonFactory failed to process the feature.
Although I got a Background Description File containing 110 negative samples, I did not receive the positives file. I have already researched this issue by reading questions and articles related to the topic, which led me to use relative paths, but still I don't get results.
If anyone has any insights or solutions regarding this matter, I would greatly appreciate your assistance.
Thank you.