Skip to content

pickling error while doing joblib, or numba #1448

Open
@rsinghoyla

Description

@rsinghoyla

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

         [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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions