josipd / torch-two-sample

A PyTorch library for two-sample tests
Other
237 stars 33 forks source link

Invalid indexing operations #7

Open rmurphy2718 opened 4 years ago

rmurphy2718 commented 4 years ago

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!