IndexError: Target 3465 is out of bounds.
报错原因是在CrossEntropyLoss()的时候y的维度与x的维度不匹配
y指预测值,x指特征值
IndexError: Target 3465 is out of bounds.报错原因
于 2023-03-21 10:08:14 首次发布
IndexError: Target 3465 is out of bounds.
报错原因是在CrossEntropyLoss()的时候y的维度与x的维度不匹配
y指预测值,x指特征值