Why is there a memory overflow when the total gpu memory is 12g and each batch uses 4.5g #13395
Open
1 task done
Labels
question
Further information is requested
Search before asking
Question
Hello,I tried to train YOLO V5 with config "imgsz=640, batch_size=16", there was no problem in the first two training epochs, but a gpu memory overflow occurred during the loading of data in the third epoch. The total gpu memory is 12g and each batch uses 4.5g, may I ask what could be the reason for this, The details of the problem can be seen in the screenshot。
Additional
No response
The text was updated successfully, but these errors were encountered: