pickling error while doing joblib, or numba
Open
neighbor search
question
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
I get a
TypeError: can't pickle open3d.open3d.geometry.PointCloud objects
when I try to parallelize a for loop to (multiple) query the KDTree.
I have tried joblib and numba and both give me same error.
my code is basically
```def myfunc(i):
[k, idx, _] = pcd_tree.search_knn_vector_3d(pcd.points[i], 1000)
return idx
results = Parallel(n_jobs=num_cores, verbose=50)(delayed(
myfunc)(i)for i in my_list)
```
Is there an alternate fast method for multiple querying the KD Tree?
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.