test.py 206 字节
Newer Older
K
Kaipeng Deng 已提交
1 2 3 4 5 6 7
import numpy as np
import pts_utils

a = np.random.random((16384, 3)).astype('float32')
b = np.random.random((64, 7)).astype('float32')
c = pts_utils.pts_in_boxes3d(a, b)
print(a, b, c, c.shape, np.sum(c))