-
Notifications
You must be signed in to change notification settings - Fork 174
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 improve the model for custom data #21
Comments
@WongKinYiu Hi, Would you like me to give you my dataset? Thanks |
hello, i do not find the information about counters_per_class. |
@WongKinYiu Hi, You can remove "counters_per_class" from the file. @AlexeyAB Added this feature for balancing the dataset but I don't use that for this case. I add the repeated file to the train.txt for balancing. |
oh, i just need the could you calculate the anchors with letter box? |
I haven't trained the model with
Can I give you my small dataset? |
The detection result is good but the classified result is not good. |
@WongKinYiu Hi, Could you please give me your email address to share the dataset? Thanks in advance |
@WongKinYiu Hi, I sent you an invitation link. I have a lot of classes that are the same and I want to select the best model and hyperparameters for this case. Thank you for helping Thanks in advance |
@WongKinYiu Hi, Did you see the dataset, How can I improve it? Thanks |
@zpmmehrdad sorry for late reply. |
@WongKinYiu Hi, Thanks for the reply, I just wanted to say that I have a lot of sign which are the same. I opened an issue Link for example. |
for traffic sign or licence plate or printed text, usually we use data synthesis with perspective effect for data augmentation. but i think another problem of your dataset is height-width-ratio and small object, i will check it. |
i think your objects are too small and too sparse.
|
I wanted to have different angles and backgrounds in the dataset. Does it need to resize the images before training?
How can I do that?
Should I do crop all of the images or add cropped images to the dataset?
Can you explain about it? |
@WongKinYiu Hi, I always use this command for anchor : Could you please more suggestions or give me the best CFG with hyperparameters? Thanks |
@WongKinYiu Thanks for the reply, |
I do not change your backbone, so just use the command you used before for training. |
@WongKinYiu Hi, I trained a model on 6 classes that I shared the dataset to you but the result is not good. Classify is not a good result. |
could you show the map results? thanks. |
@WongKinYiu Hi, I sent you an email. the mAP is on the training dataset, not test. |
@zpmmehrdad Hello, Please do not set batchsize=1 and subdivision=1, please use batchsize=64 and subdivision=64 instead. You can divide max_batches and steps by 64 to train same number of images. |
@WongKinYiu Hi, Yes, I'm using batch=64 and subdivision=32 for training and use 1 for testing. |
No, Sometimes some signs are detected wrong that not in the dataset. |
@WongKinYiu Hi, What do you think I remove the poor quality images from the dataset? because when the object is far, the result usually is wrong but when the object is near the result is good, of course not always |
yes you can do that, but if there is an automatic method can enhance performance is better. |
@WongKinYiu Hi, Could you please modify the CFG with softmax entropy loss? |
hmm... i check the code, it seems https://github.com/AlexeyAB/darknet/blob/master/src/yolo_layer.c#L259 should be modified. |
@WongKinYiu Hi,
I have a problem that sometimes some pictures are not detected or detected wrong. I attached my model and some images for testing. Could you please check it and guide me? I have about 2K images per class. Please give me some information about the hyperparameters for my case.
file
Thanks in advance
Originally posted by @zpmmehrdad in #6 (comment)
The text was updated successfully, but these errors were encountered: