Detection model resnet18 or resnet50 does not work with GPU #9040
-
Hi, i try to train a detection model on my own dataset. I tried multiple times with different backbones on both CPU and GPU. All of the backbones work with CPU but some of them does not work on GPU without any ERROR. MobileNetV3_large_x0_5 works with CPU and GPU without any problem. My anaconda prompt screen:(paddle_last) C:\Users****\Desktop\Paddle\PaddleOCR\PaddleOCR>python tools/train.py -c configs/det_res18_db_v2.0.yml . (paddle_last) C:\Users*****\Desktop\Paddle\PaddleOCR\PaddleOCR> It stops without any reason. When i checked on nvidia-smi, GPU was busy and process is shown on the screen. Could anybody help me about this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Maybe your GPU memory is too small to train larger models.
Try to set a smaller batchsize. emmmm, 4 or 2. |
Beta Was this translation helpful? Give feedback.
Maybe your GPU memory is too small to train larger models.
The memory occupied by MV3backbone is much smaller than that of ResNet.
Try to set a smaller batchsize. emmmm, 4 or 2.