Firstly, I would like to thank you for this work. Torchsparse has provided me with a lot of help in building my network. But when I was building a U-shaped encoding and decoding network, I encountered an upsampling error message as shown below. The error message shows that the Kernel Map cannot be built well, and entering kmap as Nonetype prevents the code from running correctly. The convolutional kernel of the Transform can only be successfully constructed when the kernel size is 1. I would like to ask if there are any prerequisites required for initializing convolution during the upsampling process using deconv.
Expected Behavior
File "/home/lmy/anaconda3/envs/former3d/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, *kwargs)
File "/home/lmy/anaconda3/envs/former3d/lib/python3.8/site-packages/torch/nn/modules/container.py", line 204, in forward
input = module(input)
File "/home/lmy/anaconda3/envs/former3d/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(input, **kwargs)
File "/home/share/lmy1/3DRecon/former3d-main/torchsparse-master/torchsparse/nn/modules/conv.py", line 98, in forward
return F.conv3d(
File "/home/share/lmy1/3DRecon/former3d-main/torchsparse-master/torchsparse/nn/functional/conv/conv.py", line 138, in conv3d
kmap = F.transpose_kernel_map(
File "/home/share/lmy1/3DRecon/former3d-main/torchsparse-master/torchsparse/nn/functional/conv/kmap/build_kmap.py", line 233, in transpose_kernel_map
kmap["out_in_map"], make_divisible(kmap["sizes"][0], cta_M)
The error of my project shows here. I try somethings to fix this but it dosent work well. Here, I am sure that my sparsetensor is not None and the channels of input is right. So, what can i do to solve this problem.Looking forward to your reply, it is very important to me. Thank you.
Is there an existing issue for this?
Current Behavior
Firstly, I would like to thank you for this work. Torchsparse has provided me with a lot of help in building my network. But when I was building a U-shaped encoding and decoding network, I encountered an upsampling error message as shown below. The error message shows that the Kernel Map cannot be built well, and entering kmap as Nonetype prevents the code from running correctly. The convolutional kernel of the Transform can only be successfully constructed when the kernel size is 1. I would like to ask if there are any prerequisites required for initializing convolution during the upsampling process using deconv.
Expected Behavior
File "/home/lmy/anaconda3/envs/former3d/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl return forward_call(*input, *kwargs) File "/home/lmy/anaconda3/envs/former3d/lib/python3.8/site-packages/torch/nn/modules/container.py", line 204, in forward input = module(input) File "/home/lmy/anaconda3/envs/former3d/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl return forward_call(input, **kwargs) File "/home/share/lmy1/3DRecon/former3d-main/torchsparse-master/torchsparse/nn/modules/conv.py", line 98, in forward return F.conv3d( File "/home/share/lmy1/3DRecon/former3d-main/torchsparse-master/torchsparse/nn/functional/conv/conv.py", line 138, in conv3d kmap = F.transpose_kernel_map( File "/home/share/lmy1/3DRecon/former3d-main/torchsparse-master/torchsparse/nn/functional/conv/kmap/build_kmap.py", line 233, in transpose_kernel_map kmap["out_in_map"], make_divisible(kmap["sizes"][0], cta_M) The error of my project shows here. I try somethings to fix this but it dosent work well. Here, I am sure that my sparsetensor is not None and the channels of input is right. So, what can i do to solve this problem.Looking forward to your reply, it is very important to me. Thank you.
Environment
Anything else?
No response