YOLOX icon indicating copy to clipboard operation
YOLOX copied to clipboard

cuda显存一直超出的问题/Persistent cudA video memory overruns

Open ZZM11 opened this issue 3 years ago • 6 comments

image 我目前训练yolox_l,batch_size设置的为4,img_size为416,但一直报显存的错,我的显卡是xp,显存12个g,应该不会出现这样的情况,之前yolov4,v5都设置的batchsize为8或者6。。。,请问有人知道是什么原因吗? I am currently training yolox_L, set batch_size to 4, imG_size to 416, but the error of the video memory is always reported. My video card is XP, and the video memory is 12 G, this should not happen, yolov4, V5 set batchsize to 8 or 6 before... Does anybody know why?

ZZM11 avatar Aug 12 '21 11:08 ZZM11

@ZZM11 I think your GPUs may be occupied by other programs.

Joker316701882 avatar Aug 13 '21 15:08 Joker316701882

I confirm that the video memory is not occupied by other apps

ZZM11 avatar Aug 13 '21 15:08 ZZM11

你的问题解决了吗?我也遇到了这个问题,求教

huanghaiting1 avatar Sep 03 '21 06:09 huanghaiting1

你的问题解决了吗?我也遇到了这个问题,求教

没有,只能减少batchsize

ZZM11 avatar Nov 11 '21 04:11 ZZM11

batch size 调到了1还是不行

tyj1225 avatar Mar 11 '22 14:03 tyj1225

Hi,

Did you solved this problem ?

LamnouarMohamed avatar Sep 13 '22 13:09 LamnouarMohamed