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

Can't train SiamRPN #92

Open
ISosnovik opened this issue Jun 17, 2020 · 9 comments
Open

Can't train SiamRPN #92

ISosnovik opened this issue Jun 17, 2020 · 9 comments

Comments

@ISosnovik
Copy link

ISosnovik commented Jun 17, 2020

Hello,
Thank you for your work!

I wanted to train SiamRPN.
I followed your training procedure.
I used the provided training config.
I used VID, DET, YTB, COCO for training
But it gives me only 0.53 on OTB2013 after tuning.

I found a strange moment
I checked the paths you write and the look like '/data/home/hopeng/data/ytb/crop271'
so 271 is the size of the dataset you used
In the config you have VID of size 271 but you provide only VID crop255
The same for DET and COCO
Their sizes to do not match the size of in the config
For my training I just changed for example paths from coco/crop271 to coco/crop511
and so on. And then trained. But the result is significantly worse than expected.

Could you provide the correct config?
or could you provide the correct datasets?

@davinca
Copy link

davinca commented Jun 18, 2020

@ISosnovik I got same issue like you, at the end, the training loss only converge to 0.03 for cls loss and 0.15 for reg loss.

@sjtuchenye
Copy link

I get the same issue. When training SiamRPN on GOT10K dataset, the segLoss converge to 0.14 after 14epochs. And the GOT10K dataset downloaded from Baidu Disk is also of size 255.

@ISosnovik
Copy link
Author

ISosnovik commented Jun 24, 2020

@JudasDie Could you help us with this issue?

@JudasDie
Copy link
Contributor

@JudasDie Could you help us with this issue?

Hi, as for the data, you could use the provided files in our new code. As for the bugs, it may need some time for me to check and fix. You may try the new model recently.

@ISosnovik
Copy link
Author

ISosnovik commented Jun 24, 2020

@JudasDie I checked the COCO dataset from your new repo. It is also of size 511.
Which size did you use to train your SiamRPN model?

I am not willing to try a new model because I need to reproduce your SiamRPN+

@JudasDie
Copy link
Contributor

@JudasDie I checked the COCO dataset from your new repo. It is also of size 511.
Which size did you use to train your SiamRPN model?

I am not willing to try a new model because I need to reproduce your SiamRPN+

@JudasDie I checked the COCO dataset from your new repo. It is also of size 511.
Which size did you use to train your SiamRPN model?

I am not willing to try a new model because I need to reproduce your SiamRPN+

There is no influence as long as the image size is larger than 255 + shift pixels.

@ISosnovik
Copy link
Author

ISosnovik commented Jun 25, 2020

@JudasDie I got it. But why do I get 0.53 instead of 0.67 on OTB with SiamRPN when I follow your isntructions?

@JudasDie
Copy link
Contributor

@JudasDie I got it. But why do I get 0.53 instead of 0.67 on OTB with SiamRPN when I follow your isntructions?

As I said, I need time to check and retrain the code to find the bugs. Besides, I haven't met such a low result before.

@Sanshi6
Copy link

Sanshi6 commented Mar 8, 2024

Thank you for your work. We encountered the same problem and were unable to train a model with a success rate exceeding 0.53. Have you found the bug?

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

5 participants