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

How to improve training speed? #16

Closed
lengly opened this issue Nov 30, 2017 · 1 comment
Closed

How to improve training speed? #16

lengly opened this issue Nov 30, 2017 · 1 comment

Comments

@lengly
Copy link
Contributor

lengly commented Nov 30, 2017

I think your work is really great. I try to run your code on Tesla V100 x 4, the speed of VGG16_VOC2007_512.py is 1.2 seconds/iter, and it may take around 40 hours to train the whole 120k itertions.

Do you have any idea to improve the speed?

I think connections between TCB may cause the whole model slow down. I think your idea is inspired by FPN. Did you try to remove connections between TCB? Then the whole model'll be more parallel. ( I know this may hurt the performance...)

@sfzhang15
Copy link
Owner

sfzhang15 commented Nov 30, 2017

@lengly Hi, comparing with our Titan X (Maxwell) x 4, your speed is much faster! You can try to train SSD_VOC2007_512_VGG16, which do not have TCBs and ODM module. His speed may be similar to ours, so we think the connections between TCB is not the main reason. Every batch has 32 images with 512 x 512 resolution for VGG16, we think the speed 1.2 s/iter is totally acceptable. We do not try to remove connections between TCB, you can try it and check the speed.

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

2 participants