pytorch的HingeEmbeddingLoss 有先后顺序
L1Loss MSELoss 都没问题,但是 HingeEmbeddingLoss 却总报错 说不能求梯度 #criterion = nn.MSELoss()#criterion = nn. ...
L1Loss MSELoss 都没问题,但是 HingeEmbeddingLoss 却总报错 说不能求梯度 #criterion = nn.MSELoss()#criterion = nn. ...