前言
one of the variables needed for gradient computation has been modified by an inplace operation
使用R-drop 将得到的两个logits进行计算时,发现这个label.to(logits)会导致这个出错。具体的代码如下:
one of the variables needed for gradient computation has been modified by an inplace operation
使用R-drop 将得到的两个logits进行计算时,发现这个label.to(logits)会导致这个出错。具体的代码如下:
上一篇:那些你必须会的linux基本操作
下一篇:【洛谷】P1576 最小花费
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M