Hi there,
I was trying to test if my pytorch is installed correctly on a CentOS-based server. I found there are a set of programs under test dir could do the job. But when I try to run run_test.sh, it always gives me the error message like:
Traceback (most recent call last):
File “test_torch.py”, line 1896, in test_index
self.assertEqual(reference[2, None], reference[2].unsqueeze(0))
TypeError: indexing a tensor with an object of type NoneType. The only supported types are integers, slices, numpy scalars and torch.ByteTensor.
Anyone know what is going on here? I also tried on my mac, and everything works fine.
Thanks!