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

How to train not face models? #26

Open
muxgt opened this issue Dec 26, 2019 · 5 comments
Open

How to train not face models? #26

muxgt opened this issue Dec 26, 2019 · 5 comments

Comments

@muxgt
Copy link

muxgt commented Dec 26, 2019

Hi! I've looked through Python example shape predictor and noticed that it uses separate face detector to get bounding box around face. But what if I want to train a model to predict not face but some other landmarks? How then do I use shape predictor? Where do I get neccessary bounding box? And can it be predicted by shape predictor itself?

@davisking
Copy link
Owner

You need to make a separate detector for whatever it is you want to find.

@babylon73
Copy link

Hi Davis,
I've dropped a message via e-mail (counting on a chance you'd respond), no answer yet though.
In short, I have a task of classification of microorganisms, came across DLib and other brilliant resources of yours and familiarizing myself with in domain now. Could you please give and advice, how and what to examing among the DLib C++ samples/other resources in order to master the skill of training domain-specific models? Sort of a roadmap or something... I'm familiar with C++, CUDA, AI in general (Genetic Programming in particular).
Thank you in advance.

@davisking
Copy link
Owner

I'm not sure if you are trying to detect the positions of things in images, or just classify the whole image as "an A type thing" vs "a B type thing". For classification of whole images any of the imagenet style methods is a textbook approach at this point. For that, http://dlib.net/dnn_imagenet_train_ex.cpp.html would be a good starting point.

@babylon73
Copy link

Davis,

Thank you for the answer.

I have three sorts of tasks:

  1. As you put it, classify whole image as an "N type thing", where N can be pretty big (hundreds of possible classes). http://dlib.net/dnn_imagenet_train_ex.cpp.html is a good start for this.
  2. Identify positions of microorganisms on the image.
  3. Take big image, identify positions of microorganisms (task 2) and report which sorts of microorganisms were found (and how many of each type of miroorganisms were found).

Would be great if you could suggest on the tasks (2) and (3).

Thank you.

@davisking
Copy link
Owner

davisking commented Jan 12, 2020 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

3 participants