cfzd / Ultra-Fast-Lane-Detection-v2

Ultra Fast Deep Lane Detection With Hybrid Anchor Driven Ordinal Classification (TPAMI 2022)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

无法生成culane_anno_cache.json文件

anhuidinglieqiaodaima opened this issue · comments

我在使用python scripts/cache_culane_ponits.py --root /path/to/your/culane指令时发现如下报错
(lane-det) root@autodl-container-ecb6119b52-5cbeb8ab:/autodl-tmp# python scripts/cache_culane_ponits.py --root /root/autodl-tmp/CULane
0%| | 0/88880 [00:00<?, ?it/s]scripts/cache_culane_ponits.py:32: DeprecationWarning: np.float is a deprecated alias for the builtin float. To silence this warning, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
all_points = np.zeros((4,35,2), dtype=np.float)
21%|█████████████████████████████████ | 18364/88880 [01:47<06:51, 171.38it/s]
Traceback (most recent call last):
File "scripts/cache_culane_ponits.py", line 53, in
all_points[lane_order - 1, int(pos), 0] = p1x
IndexError: index 61 is out of bounds for axis 1 with size 35
(lane-det) root@autodl-container-ecb6119b52-5cbeb8ab:
/autodl-tmp#

无法解决 有大佬给帮助一下吗

序号18364这张图片的车道线打标出现了问题 你看看label的点是什么样的

序号18364这张图片的车道线打标出现了问题 你看看label的点是什么样的

感谢!