Skip to content

thrust::system::system_error when sparse_quantize called with label #5

@nbgbn

Description

@nbgbn

Hi,

When I run codes below

import MinkowskiEngine as ME, MinkowskiEngine.utils as ME_utils
import numpy as np

coords = np.random.rand(10000, 3) * 100
feats = np.random.rand(10000, 3)
labels = np.ones((10000, 1))
print(ME_utils.sparse_quantize(coords, feats=feats, labels=labels))

I got error:

terminate called after throwing an instance of 'thrust::system::system_error'
  what():  parallel_for failed: invalid argument

But code above works fine after I reduced the size of coords (100, such as) or just removed the argument 'labels'.

Is there any suggestion?

THX!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions