-
Notifications
You must be signed in to change notification settings - Fork 85
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
the metrics are too small #18
Comments
Please help me. |
I trained the model with two gpus. |
How does your data look like and how large is your dataset? |
My train set has 8000+ images |
I modified the TBPP_train.ipynb, the follow is the modified code:
|
hi @Crispinli, can you please upload your code on git and share. I am trying to regenerate your issue but having lot of errors with current implementation. |
Hello, @kapitsa2811 , my dataset can not be uploaded for some reasons. But I can tell you what I had modified. I used the code below to generate my train sets and trained the model with the code posted above. And then I got this issue. The
|
By the way, my dataset is like 'icdar15'. And I don't modified the other files. |
Try the folowing
and maybe you could give feedback if you find better values for the lambdas. I will also change that in the notebook. |
Ok. I will try these lambdas and give you the feedbacks. Thank you very much. |
With your suggested lambdas, the metrics are always 0. I can't solve it. |
Probably I trained the model with Yesterday, I tried to train a TBPP-DenseNet model with In general, it seems that the focal loss demands for higher values. |
@Crispinli I would visualize some samples with the plotting methods in I would also perform the experiments with lower input size and only train a final version with 1024x1024. Training with 512x512 is four times faster. Seee also #10... |
I didn't change |
Hi, when i want to tarin the TBPP model with my own data i get this error: "missing layer max_pooling9", and also metrics are too small, do you have any idea for this problem? |
"missing layer max_pooling9" should be no problem since it has no parameters... In which context? #2? |
I used this model "TBPP textboxes++ +densenet" With weights you provided for text detection for persian texts images, it is detecting texts perfectly, except it ignores dots, i just want to fine tune this model with my own data that is generated in the Synthtext form, using your weights for initializing the model. |
@par93vin With context I meant some piece of code... |
@Crispinli Hi, I have the same problem. Have you solve this issue? |
Sorry, no... |
@Crispinli Did you try an input of 512x512? I never trained with 1024x1024... |
Yes, but nothing changed. |
With the pretrained model provided by @mvoelk , I got high recall while very very low precision... |
@maozezhong |
@mvoelk Yes, I mean during training, I got the situation like precison=0.0001, recall=0.98+ And by the way, to achieve the performance below:
|
@maozezhong See code and log provided with the weights. |
@mvoelk Thanks. I have other questions.
|
|
@mvoelk thanks! |
@maozezhong I'm not completely sure what you mean by anchor density... In this case, two sets of prior boxes per location. Each with 6 different aspect ratios. One is shifted up and one down. |
@mvoelk OK, Thanks. anchor density in my option means how many sets of prior boxes per location. In your case, it's 2, I am wrong before. |
@mvoelk What is equation (4) in ssd_detectors/ssd_utils.py line 299. Any reference paper? Thanks |
@maozezhong SSD paper?! |
@mvoelk my bad.. lol |
When I train the TBPP model with my own data, the metrics are too small, such as follow:
loss: 17.0426 - conf_loss: 0.0283 - loc_loss: 16.7599 - precision: 4.2830e-04 - recall: 0.0217 - accuracy: 3.8194e-04 - fmeasure: 7.5787e-04 - num_pos: 5828.8542 - num_neg: 3663963.1458
How can I fix it?
The text was updated successfully, but these errors were encountered: