Mobile SSD models are expected to have exactly 4 outputs, found 2 #5550
Labels
os:linux-non-arm
Issues on linux distributions which run on x86-64 architecture. DOES NOT include ARM devices.
platform:android
Issues with Android as Platform
platform:python
MediaPipe Python issues
task:object detection
Issues related to Object detection: Track and label objects in images and video.
type:modelmaker
Issues related to creation of custom on-device ML solutions
type:support
General questions
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Ubuntu 22 in wsl2 , android 12
Python Version
3.10
MediaPipe Model Maker version
2.0.4.1
Task name (e.g. Image classification, Gesture recognition etc.)
object detector
Describe the actual behavior
I use mediapipe_model_maker 2.0.4.1 to train an model and use it in an android programme, but it can't run and throws exception.
Describe the expected behaviour
the android programme throws: java.lang.IllegalArgumentException: Error occurred when initializing ObjectDetector: Mobile SSD models are expected to have exactly 4 outputs, found 2
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs
The text was updated successfully, but these errors were encountered: