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

Training memory issue & missing file #2

Closed
tkdtks123 opened this issue Mar 30, 2022 · 4 comments
Closed

Training memory issue & missing file #2

tkdtks123 opened this issue Mar 30, 2022 · 4 comments

Comments

@tkdtks123
Copy link

Hello,
Thanks for sharing the source code of nice work!

I have tried the TAO training code (GTR_TAO_DR2101.yaml) but failed full training due to the memory overhead error.
It seems the memory usage increases gradually during training, and reaches the max memory limit.
As I am currently using A6000 with 48G gpu, it should be enough based on your training spec (4x 32G V100 gpu). Could you give any ideas? My initial solution is to reduce the video length 8 to 2.

Moreover, I cannot find the move_tao_keyframes.py file. Could you please provide this file?

Thanks,

@xingyizhou
Copy link
Owner

Thank you for reporting the issues!

The memory issue is due to a pytorch version issue in CenterNet2. The most recent CenterNet2 commit should fix that.

I have pushed the move_tao_keyframes.py file. Sorry for the inconvenience!

Please let me know if you have other questions.

Best,
Xingyi

@tkdtks123
Copy link
Author

Thanks for your fast reply.

I will try to downgrade my pytorch version.
For the missing file, seems it is not pushed in the repo yet.

Thanks,

@xingyizhou
Copy link
Owner

Sorry, added the missing file :)

No need to downgrade the pytorch version. You can git pull under third_party/CenterNet2 and use the most recent pytorch version. It's just our models are developed under torch 1.7 and cuda 9.2.

Best,
Xingyi

@tkdtks123
Copy link
Author

Thanks for the clarification.

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