where pos.shape == torch.Size([960000, 3]) and batch.size = 960000 (tensor([0, 0, 0, ..., 63, 63, 63])).
Error sessage:
...
File "...\modelPCR.py", line 112, in forward
x = self.conv1(None, pos, batch)
File "...\lib\site-packages\torch\nn\modules\module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "...\lib\site-packages\torch_geometric\nn\conv\x_conv.py", line 127, in forward
num_workers=self.num_workers)
TypeError: knn_graph() got an unexpected keyword argument 'num_workers'
Process finished with exit code 1
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
Define an XConv layer https://github.com/rusty1s/pytorch_geometric/blob/04143195eaa52dcfa56e8656e72df57c36a76367/benchmark/points/point_cnn.py#L24
The forward operation on this layer throws the error https://github.com/rusty1s/pytorch_geometric/blob/04143195eaa52dcfa56e8656e72df57c36a76367/benchmark/points/point_cnn.py#L37
where
pos.shape == torch.Size([960000, 3])
andbatch.size = 960000
(tensor([0, 0, 0, ..., 63, 63, 63])
).Error sessage:
Expected behavior
No error.
Environment