graspnet / graspnet-baseline

Baseline model for "GraspNet-1Billion: A Large-Scale Benchmark for General Object Grasping" (CVPR 2020)
https://graspnet.net/
Other
518 stars 152 forks source link

训练时knn遇到错误 #104

Closed kirafalcon closed 6 months ago

kirafalcon commented 7 months ago

在训练时knn部分会给出这样的错误,请问有什么解决方案吗

image
kirafalcon commented 7 months ago

在几天过后,我解决了这个问题。我猜测有可能是python的版本问题,在python3中,long这一类型被int64代替,所以我将我对inds的类型定义为了int32,然后成功运行,我不知道具体原因,但是it works for me