Bert-Multi-Label-Text-Classification
Bert-Multi-Label-Text-Classification copied to clipboard
CUDA out of memory
train_batch_size我设置成1了,为啥还是out of memory. 我的显卡 getforce 930MX , 2G显存 请问最低显存要求是多少?为什么会out of memory? 15万的训练数据,才5个标签,应该不会很吃显存吧
2g太小了啊 ,bert本身有点大,另外跟你的seq_length有关。换卡吧 8G我都觉得玩耍不友好了。
感谢回复。我没钱,不换显卡,搞完这个我就不弄nlp了。