Skip to content

GPU memory requirement #11

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

Open
timezone163 opened this issue May 8, 2020 · 6 comments
Open

GPU memory requirement #11

timezone163 opened this issue May 8, 2020 · 6 comments

Comments

@timezone163
Copy link

请问训练该模型使用的GPU是什么型号,显存大小?
GPU=8G显存,能否支持训练batch_size = 4?

@Simon-liusheng
Copy link

支持不了的

@timezone163
Copy link
Author

谢谢您的回答,请问作者使用的是什么显卡,准备入手一款训练用显卡,显存最低要求,谢谢

@Simon-liusheng
Copy link

我现在的就是8g,但是bs只能2,我还想用下百度的显卡,16g,配环境相当的麻烦。

@timezone163
Copy link
Author

@Simon-liusheng 8G显存的话,只需要将batch_size = 2就能完成作者的训练吗?model size不要修改吧?比如将(608,608)改为(512, 512),或者(416,416)。
因为我看默认下载的yolov4.weights的model size是(608,608)。
谢谢

@robisen1
Copy link

@Simon-liusheng 8G显存的话,只需要将batch_size = 2就能完成作者的训练吗?model size不要修改吧?比如将(608,608)改为(512, 512),或者(416,416)。
因为我看默认下载的yolov4.weights的model size是(608,608)。
谢谢

ohh i did not notice that. are we supposed to be using 608X608 in train? I sort of assumed it would not matter if this was from Darknet yolov4. Also I have a RTX 2080 TI founders edition with 11g. It can barely handle a batch size of 4 on a small data set. This seems odd. Why is memory usage so much?

@iliask97
Copy link

@Simon-liusheng 8G显存的话,只需要将batch_size = 2就能完成作者的训练吗?model size不要修改吧?比如将(608,608)改为(512, 512),或者(416,416)。
因为我看默认下载的yolov4.weights的model size是(608,608)。
谢谢

ohh i did not notice that. are we supposed to be using 608X608 in train? I sort of assumed it would not matter if this was from Darknet yolov4. Also I have a RTX 2080 TI founders edition with 11g. It can barely handle a batch size of 4 on a small data set. This seems odd. Why is memory usage so much?

qqwweee's implemantation is on yolov3 not v4. yolov4 is a way bigger network and requiers a lot more vram to run. In the github repository of the original yolo their is a section witch tells you what changes you need to do according to your gpu memory to train it faster

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

4 participants