torch-two-sample icon indicating copy to clipboard operation
torch-two-sample copied to clipboard

Invalid indexing operations

Open rmurphy2718 opened this issue 4 years ago • 0 comments

Hi,

I just ran python setup.py test and got numerous IndexErrors like

IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number

I am running

pytorch 1.4.0, py3.7_cpu_0 [cpuonly]

managed by

conda 4.7.12

with version

Python 3.7.7

on a Linux OS.

Please help, Thanks!

rmurphy2718 avatar Jun 11 '20 18:06 rmurphy2718