-
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
Multi-class object detection #157
Conversation
gheinrich
commented
Jun 2, 2016
- Update Python clustering layers to output one top per class
- Add example model for 2-class object detection
This looks good and doesn't appear to break existing networks / workflows. |
Together with NVIDIA/DIGITS#869, I can train this network and verify bounding boxes for multiple classes. |
Could it be used for detecting more than two classes? and what about the object sizes? I mean according to Deep Learning for Object Detection with DIGITS "the object size should be between 50×50 and 400×400 px in the input images" so trying to detect multiple objects with different sizes could lead to problems? also related to the questions I have asked in BVLC#1011 |
Hi, in detectnet_network-2classes.prototxt what does src and dst mean in these lines (82 and 83)? |
|
Thank you, I tried to duplicate the procedure with my data setting the classes to: I0830 19:00:35.659642 21846 net.cpp:94] Creating Layer score-class1 I checked the log and found out that nothing is created for the second class in previous layers: What am I missing?! I created the db leaving the custom classes empty (to use the default mapping) and here is the output: I also don't understand what are the numbers in Label shape. could it be possible that the db process has not included the other labels?! my label files look sth like this: (different combinations of the three labels I have can be found in various images) |
Can you check that you're using a version of Caffe that includes this PR? |
Sorry how can I check that? and also I don't understand what you mean by "this PR" |
Ok, in info (in the GUI) the caffe version is: 0.15.9 |
Sorry I hate it when people use acronyms and I'm doing it :-( . On Github "PR" stands for "Pull Request". What I meant to ask was whether your code had the changes from this patch. This patch was merged just after 0.15.9. To get those changes you will need to build Caffe from source. You may follow this guide. |
OK, I built caffe from source using the guide you said and it finished without any errors. now should I do anything for DIGITS to see this caffe? (I set the CAFFE_HOME environment variable to my caffe home as the guide suggested) The thing is I'm still getting the same error for two class detection. |
You will need to edit the DIGITS config to point to your own Caffe binary. Browse the doc to find out how to do this. |
Thank you I did it and the problem resolved after a reboot, I have now successfully launched it for a 3 class detection, thank you again for your patience and your quick answers. |
Hi, in 3 class training, the network is showing around 70 percent mAP for one class and 0 for the other two after epoch 46, Is there sth wrong what I've done? or simply I should wait for it to go further? |
Hello, multi-class object detection with DetectNet is provided for adventurers who would like to experiment. We don't have a definite guide to training these models as the choice of parameters is very much dataset specific. It should help if your dataset is well balanced. You may also try to incrementally increase the number of classes (e.g. fine-tune a single-class model to do dual-class detection). |
Thank you On Fri, Sep 2, 2016 at 5:10 PM, Greg Heinrich notifications@github.com
|
Hi, Im using DIGITS (5.1-dev) Detectnet for multiclass classification. My caffe version is 0.15.14. Single class detection works fine. I have trained Detectnet for multiclass classification (cars & pedestrian) with the |
@gheinrich @lukeyeager |
@gheinrich @lukeyeager @szm2015 @xhuvom |
I also had the same problem for multiclass detection. Anyways, I found YOLO Darknet useful for detection of many class at high fps. U might check it out at http://pjreddie.com/darknet/yolo/ |
@gheinrich @lukeyeager @szm2015 @xhuvom I just wanted to know whether resize of images will affect the bounding box coordinates in the label file or DIGITS internally modifies it ???? Can you guide me to get good results. |
@gheinrich @lukeyeager |
Multi-class object detection