Open wanggoldx opened 2 months ago
Hi @wanggoldx,
You are correct that you need to add the metadata. The additional configuration is likely necessary because you are using an operating system we have not tested. You can find the list of supported operating systems here. Please try adding the metadata for data of type UINT8 or FLOAT32 for NormalizationOptions, as outlined here, and see if that resolves the issue.
Thank you!!
Hi @wanggoldx,
You are correct that you need to add the metadata. The additional configuration is likely necessary because you are using an operating system we have not tested. You can find the list of supported operating systems here. Please try adding the metadata for data of type UINT8 or FLOAT32 for NormalizationOptions, as outlined here, and see if that resolves the issue.
Thank you!!
Actually, I have try to add the metadata before. However after adding the metadata, I have put the model to mediapipe studio to test (not the OS not tested) The output is wrong, it appear something like
How can I solve this problem? Thank for your friendly help.
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
rock5b dibian
MediaPipe Tasks SDK version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
Image classification
Programming Language and version (e.g. C++, Python, Java)
python
Describe the actual behavior
The error occured
Describe the expected behaviour
The model can run properly
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs
No response