You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
slice_pool_layer.slice_pool_max_forward_cuda(input, slice_idx_mat, num_slice, num_batch, channels, num_points, out, pool_mask)
ctypes.ArgumentError: argument 1: <class 'TypeError'>: Don't know how to convert parameter 1
I changed the original code of "slice_pool_layer.py" from "from _ext import slice_pool_layer" to implementing ctypes module to import "_slice_pool_layer.so" because of the ImportModuleNotFoundError (cannot find the _ext). However, I encountered the problem above. I don't know how to address it. Could you please give me some advice? Thanks a lot!
(Actually, because I am unfamiliar with CUDA programming, I initially think that maybe it is the end of some functions in "slice_pool_layer.c" and "slice_pool_layer_cuda.c", which is "return 1", that causes the problem because I see "convert parameter 1". So I modify the source code to adapt to my understanding, which in fact may be wrong. LOL.)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
slice_pool_layer.slice_pool_max_forward_cuda(input, slice_idx_mat, num_slice, num_batch, channels, num_points, out, pool_mask)
ctypes.ArgumentError: argument 1: <class 'TypeError'>: Don't know how to convert parameter 1
I changed the original code of "slice_pool_layer.py" from "from _ext import slice_pool_layer" to implementing ctypes module to import "_slice_pool_layer.so" because of the ImportModuleNotFoundError (cannot find the _ext). However, I encountered the problem above. I don't know how to address it. Could you please give me some advice? Thanks a lot!
(Actually, because I am unfamiliar with CUDA programming, I initially think that maybe it is the end of some functions in "slice_pool_layer.c" and "slice_pool_layer_cuda.c", which is "return 1", that causes the problem because I see "convert parameter 1". So I modify the source code to adapt to my understanding, which in fact may be wrong. LOL.)
The text was updated successfully, but these errors were encountered: