Skip to content
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

Is this possible to train this project to detect my own dataset's keypoints? #154

Closed
Metal-joker opened this issue Mar 8, 2018 · 5 comments

Comments

@Metal-joker
Copy link

How can I re-implement this project to detect my own dataset's key points like clothes key points?
Is there anything like dataset or annotation format that need attention?
Anything will be very helpful!

@cchamber
Copy link

cchamber commented Mar 8, 2018

You should start with the COCO api demo and look at what you information you need to save in the annotation .json files. For the annotations there are several online tools you can use https://en.wikipedia.org/wiki/List_of_manual_image_annotation_tools . I am using labelMe.

From there you can generate .h5 input files. I am using a keras version of the code written by michal faber and anatolix. Anatolix has code that allows you to generate the .h5 input file from the .json annotation files. Once you have the input files in .h5, you should be able to train the model with your own data.

more info here: cocodataset/cocoapi#111

@Metal-joker
Copy link
Author

Thanks and I already have the annotation file, but is there any way to train with my own data with this project? I didn't find it in README

@christian-lanius
Copy link

As far as I can tell, you can not use openpose to retrain the underlying neural network. You should be able to use https://github.com/ZheC/Realtime_Multi-Person_Pose_Estimation and the modified caffe version the authors used (https://github.com/CMU-Perceptual-Computing-Lab/caffe_train) to train the caffe model. After training you can use your weights to replace the weights openpose uses for the model, i.e. the iter files.
Somebody who is more experienced on retraining openpose should swoop in and correct any mistakes in my understanding!

@arnitkun
Copy link

arnitkun commented Jun 14, 2018

You should start with the COCO api demo and look at what you information you need to save in the annotation .json files.

Can someone please explain this a bit more? I understand that I should check a COCO json file and see what are the 'members' of the annotated sections in an annotation file. Still how would i need to annotate the image should i retrain using the code.

@BeauDoggie
Copy link

BeauDoggie commented Mar 15, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants