keras_frcnn icon indicating copy to clipboard operation
keras_frcnn copied to clipboard

GPU memory usage + speed

Open Maind0 opened this issue 8 years ago • 5 comments

Hi, I'm kinda new on this field, I'm studying computer Enginering and I'm trying to train your NN with data of my own, the problem comes when I launch train and get: +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 3113 C python 74MiB | +-----------------------------------------------------------------------------+ On a GeForce GTX 980 with 4036MiB. And get ~4 hours per epoch. I dont know if this is due to my data, the NN or some kind of option I have not discovered yet, I would really appreciate the help. Thanks in advance.

Maind0 avatar Apr 20 '18 10:04 Maind0

I have the same problem. In my opinion, there are some delay nn.rpn to nn.classifier (gpu-cpu-gpu)

stathwan avatar May 04 '18 02:05 stathwan

Reduce the number of epochs

satendra929 avatar May 18 '18 04:05 satendra929

3L: why reduce the number of epochs is helpful?

Yinruihao avatar Jun 28 '18 13:06 Yinruihao

2L: I trained the rpn seperately, but i still have this problem.

Yinruihao avatar Jun 28 '18 13:06 Yinruihao

OK!! Finally, i find the reason. Don't use conda install keras in anaconda, it will use the cpu version tensorflow. conda uninstall keras, then pip install keras, this time ,i can use all my gpu memory.

Yinruihao avatar Jul 04 '18 02:07 Yinruihao