Traceback (most recent call last):


 "train.py", line 266, in <module>

main()


 "train.py", line 228, in main

current_step=current_step, writer=writer)


 "train.py", line 112, in train

outputs = model(inputs)


 "/home/baifan/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)


 "/home/baifan/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 150, in forward

return self.module(*inputs[0], **kwargs[0])


 "/home/baifan/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)


 "/home/baifan/graduation_project/pvcnn/models/shapenet/pvcnn.py", line 44, in forward

features, _ = self.point_features[i]((features, coords))


 "/home/baifan/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)


 "/home/baifan/graduation_project/pvcnn/modules/pvsconv_dws.py", line 44, in forward

sparse_output1 = self.convB1(sparse_input)


 "/home/baifan/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)


 "/home/baifan/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/modules/container.py", line 100, in forward

input = module(input)


 "/home/baifan/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)


 "/home/baifan/anaconda3/envs/pt/lib/python3.7/site-packages/MinkowskiEngine-0.4.2-py3.7-linux-x86_64.egg/MinkowskiEngine/MinkowskiChannelwiseConvolution.py", line 177, in forward

out_F[out_maps[k]] += input.F[in_maps[k]] * self.kernel[k]
IndexError: tensors used as indices must be long, byte or bool tensors

Epoch 001/200 [0001/1334] -- Traceback (most recent call last):


 "train", line 176, in <module>

images={'real_A': real_A, 'real_B': real_B, 'fake_A': fake_A, 'fake_B': fake_B})


 "/Users/tk/python_dir/pytorch_dir/ramen2zirou/PyTorch-CycleGAN/utils.py", line 39, in log

self.losses[loss_name] = losses[loss_name].data[0]
IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number
