-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get the trained model for 'book' and 'cereal_box' category through mediapipe python API? #53
Comments
you can download the models from the objectron bucket on gcs, at the objectron/models or directly via http: |
thanks for the reply, and how should I load the model weights then? |
hello, I have the same question, did you solve it? I use the following code and get weird results, I don't know how to get the 2D keypoints, images = np.asarray(images) print(preds)
(1, 160, 120, 1) |
It looks like you are using the older version of our models (mobile-pose) where it predicts heatmaps (1 center heatmap and 16 heatmaps for x-y displacement of 8 keypoints). If you use the more recent version (mesh2) it should predict a 2x9 matrix at the output, which contains the x,y of each keypoints. Example code: Objectron/objectron/dataset/eval.py Line 110 in c06a651
|
Thank you for your reply, I download the mesh2 version model https://storage.googleapis.com/objectron/models/objectron_mesh2_cvpr/cereal_box.hdf5 according to your reply and I meet the problem as following: |
Hi @ahmadyan, great work! Once downloaded the
If we are missing something or there is another way to read the weights please let us know, without this, we can't reproduce the insights of your paper :( btw, the
Thank you in advance and again, thank you for this amazing work. |
Actually, best would be an example of loading such weights since after filling |
Hi, I'm a researcher working on a paper related to Object 6D Pose estimation. The proposed method in Objectron is an important baseline method for us so we do hope to compare our method with the proposed method in Objectron on our own dataset.
However, the models for 'book' and 'cereal_box' are not available on mediapipe python API. Is there any method for us to obtain the model for these two categories?
The text was updated successfully, but these errors were encountered: