-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
SVM training failed #23
Comments
@minghaohsu410168 I meet the same problem and I want to know if you have a solution to train the SVM classifier? Best wishes, |
@yicheng6o6 |
@minghaohsu410168 I built the devel branch successfully, but I also meet the following error when I tried training the SVM classifier (use lcas_simple_data.zip): And I have a another question: Any help is much appreciated:) |
@yicheng6o6 Yes, the other bounding box without labels are dontcare label. You can check the generated pedestrian file, and it will be |
@minghaohsu410168 Now I can generate the pedestrian file and other classes file in build/svm folder. But when I checked these files, I found all classes were labeled as "1". From my understanding, the classes of: dontcare, car and wheelchair should be "-1" (non-human), namely I suppose adding the negative examples means annotate the object with non-human classes. Best wishes, |
Yes, if you want to use the model to detect pedestrian only, the car, dontcare are -1 label. You can modify the feature extraction code in viewer.cpp. |
@minghaohsu410168 I've finished reading the viewer.cpp, I think I can use writeData() function. Is it possible that I change the dontcare, car and wheelchair to -1 label manually? Best wishes, |
Hello,
Thanks for the nice tool, but I want to ask how to train the svm model, I tried training the model using lcas_simple_data.zip but always got "train failed", and the console got "mv cannot stat pedestrian.* no such file or dictionary".
How should I do, can you give me some advice, thank you.
The text was updated successfully, but these errors were encountered: