ZhouJankin / MultiMap3D

Use ORB-SLAM2 to build a metricmap and localization, fcaf3d to detect 3D objects, and build a tracker database to manage the objects detected.
37 stars 6 forks source link

ValueError: need at least one array to concatenate #4

Closed rookierobot closed 9 months ago

rookierobot commented 9 months ago

你好,请问您在运行过程中有遇到这个问题吗? python fcaf3d_sort_demo.py 终端输出以下信息: [ERROR] [1704789826.154335, 40.778008]: bad callback: <function callback at 0x7f23bddea9d0> Traceback (most recent call last): File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback cb(msg) File "fcaf3d_river.py", line 125, in callback dets = np.concatenate(dets) File "<__array_function__ internals>", line 180, in concatenate ValueError: need at least one array to concatenate

感谢您的回复~

ZhouJankin commented 9 months ago

应该只是numpy的基础错误。 https://blog.csdn.net/whale_gyj/article/details/123441158 dets的格式有问题可以检查一下。