我想在基于 Pytorch 的项目中进行交叉验证。而且我也没有找到pytorch提供的删除当前模型和清空GPU内存的方法。你能告诉我该怎么做吗?
gpu pytorch allennlp
allennlp ×1
gpu ×1
pytorch ×1