-
Notifications
You must be signed in to change notification settings - Fork 45.7k
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
Object detection | Keypoints to object detection model #2366
Comments
Any update on this? It seems that the visualizations there and the standard field is there, but I can't seem to get the keypoints from the graph (I'm using ssd_mobilenet_v1_coco). Currently failing when I'm calling |
@pkulzc I saw you had done most of the work on adding keypoints to the detection framework. Any chance you can give an update on if/when that functionality will be available? |
As far as I've got in the code I saw that only MaskRCNNBoxPredictor supports keypoint prediction. How hard it would be to add keypoint prediction to a ConvolutionalBoxPredictor as well? Any thoughts? |
I had the same issue, but got reading and writing tfrecords to work. I have links to the source that helped me understand but, here is the tl,dr Short Answer
More Detail:
|
Hi, @dustindorroh. Very useful information and I'm curious that have you successfully trained keypoints regression with object detection API? Thanks. |
@dustindorroh I can create tfrecord with keypoints as labels and set |
Hi, is anyone working on keypoint functionality now? IMO there's still ~50% of work to do, basicly adding keypoint head to faster rcnn meta architecture. I can do this, but don't want to waste time if the work is in progress or sheduled? |
Keypoints API is useful also for new anchor free models: |
A new anchor free model https://github.com/Star-Clouds/CenterFace |
See also tensorflow/hub#424 |
I added a Keypoints/Heatmaps issue in Tensorflow addons at tensorflow/addons#1366 |
It seems that you should specify "KeypointBoxCoder" in pipeline.config to enable keypoint detection feature. --------------------------------------- default pipeline.config |
I have been extending the box_coder to add keypoints detection for some time. I have tested on both Faster RCNN and SSD with customized training data which has keypoints labeling. The problem is it is a bit confusing with the keypoints concept in Mask RCNN related code. In Mask RCNN, keypoints are separated from box coding. |
Hi @vesor , nice work! I think what your are saying is totally reasonable. If you don't mind, can you give some sample code on how to achieve that? Thanks! |
@pharrellyhy @vesor could you share some information on training key points detection using TF object detection API? |
@gsadhasivam It's easy if you are using TF2 and CenterNet. |
@dustindorroh - Are the keypoints expected to be normalized as the bounding boxes? (normalization by image width and height). |
That sounds correct. It’s been a while, but I remember keeping the
keypoints normed with respect to the bounding box. The keypoint bookkeeping
is a pain otherwise.
From my own personal experience/mistakes I made, I had the bounding box
coordinate transform backwards from the key point transform…. Or was it the
other way… lol.
Best of luck!
Dustin
…On Tue, Jun 29, 2021 at 11:46 AM salpert-humane ***@***.***> wrote:
@dustindorroh <https://github.com/dustindorroh> - Are the keypoints
expected to be normalized as the bounding boxes? (normalization by image
width and height).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2366 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHWZ752D6XISX5I67BRJXTTVIIKBANCNFSM4D2NPFJA>
.
|
Hi all, Any advice on what the best way is today to train an SSD model with keypoints? The boxcoder seems the most promising answer. Can't use CenterNet unfortunately for compute resource reasons. |
Hello,
The way I was able to accomplish this was to have two models. One SSD model
for the bbox. The second model used the cropped part of the image to feed
the landmarking model. I also built my landmarking model off of the SSD
backbone.
Best of luck!
Dustin Dorroh
…On Tue, Apr 18, 2023 at 6:29 PM aidansmyth95 ***@***.***> wrote:
Hi all,
Any advice on what the best way is today to train an SSD model with
keypoints? The boxcoder seems the most promising answer. Can't use
CenterNet unfortunately for compute resource reasons.
—
Reply to this email directly, view it on GitHub
<#2366 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHWZ7322WQ3YVAXTMZY5Q3XB45YVANCNFSM4D2NPFJA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi,
@jch1 , @tombstone , @derekjchow , I would appreciate your help.
ADDING FUNCTIONALITY
I recently start to use SSD with MobileNet feature extractor for solving face detection problem . In term of this task I also need to to detect landmarks (keypoints). I saw that repo contain some files that connected with keypoints ( link ), but I don`t see how to add them to model. So can you describe how to do that?
With the best regards,
Alexander
The text was updated successfully, but these errors were encountered: