Open XXXxiaoxiaoxia opened 6 years ago
logpt = logpt.gather(1, target) # here is a problem RuntimeError: Invalid index in gather at c:\users\administrator\downloads\new-builder\win-wheel\pytorch\aten\src\th\generic/THTensorMath.c:600
just change the index of the image using changeIndex.py, someone have issued this question before!
logpt = logpt.gather(1, target) # here is a problem RuntimeError: Invalid index in gather at c:\users\administrator\downloads\new-builder\win-wheel\pytorch\aten\src\th\generic/THTensorMath.c:600