qianguih / RSNet

This is the official implementation of RSNet.
Other
118 stars 42 forks source link

AttributeError: 'module' object has no attribute 'slice_unpool_forward_cuda' #18

Open whuhxb opened 1 year ago

whuhxb commented 1 year ago

Hello @qianguih How to solve this bug? Thanks.

Traceback (most recent call last): File "train.py", line 209, in output = model(input_var, x_indices_var, y_indices_var, z_indices_var, hidden_list) File "/export/home/hanxiaobing/anaconda3/envs/RSNet27/lib/python2.7/site-packages/torch/nn/modules/module.py", line 477, in call result = self.forward(*input, *kwargs) File "/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/SensatUrban/RSNet-code/RSNet/net.py", line 130, in forward x_rnn_6 = self.un_pool_x( x_rnn_6, x_slice_idx ) File "/export/home/hanxiaobing/anaconda3/envs/RSNet27/lib/python2.7/site-packages/torch/nn/modules/module.py", line 477, in call result = self.forward(input, **kwargs) File "/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/SensatUrban/RSNet-code/RSNet/layers/slice_unpool_layer/slice_unpool_layer.py", line 53, in forward return self.su(input, slice_idx_mat) File "/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/SensatUrban/RSNet-code/RSNet/layers/slice_unpool_layer/slice_unpool_layer.py", line 25, in forward slice_unpool_layer.slice_unpool_forward_cuda(input, slice_idx_mat, num_slice, num_batch, channels, num_points, out) AttributeError: 'module' object has no attribute 'slice_unpool_forward_cuda'