Traceback (most recent call last):
File "test.py", line 48, in
eval_lane(net, cfg.dataset, cfg.data_root, cfg.test_work_dir, cfg.griding_num, False, distributed)
File "/home/cicero/hbx/Ultra-Fast-Lane-Detection-master/evaluation/eval_wrapper.py", line 147, in eval_lane
P = TP * 1.0/(TP + FP)
ZeroDivisionError: float division by zero
训练10个epoch完后进行test出错
Traceback (most recent call last): File "test.py", line 48, in
eval_lane(net, cfg.dataset, cfg.data_root, cfg.test_work_dir, cfg.griding_num, False, distributed)
File "/home/cicero/hbx/Ultra-Fast-Lane-Detection-master/evaluation/eval_wrapper.py", line 147, in eval_lane
P = TP * 1.0/(TP + FP)
ZeroDivisionError: float division by zero