cfzd / Ultra-Fast-Lane-Detection

Ultra Fast Structure-aware Deep Lane Detection (ECCV 2020)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to generate top1 top2 top3

PilotPhil opened this issue · comments

Hi @cfzd , thanks for your great work, it's really impressive!

i have trained ufast on my dataset,
and i find running test.py ,i can get the accuaacy 、fp、fn,
but how can i get top1 top2 top3?
hope your reply!

commented

@PilotPhil
The top1, top2, and top3 are calculated during training to monitor the training process. For evaluation, we use the metrics defined by the dataset. If you want to get the top1, top2, and top3 in evaluation, you can try to add this function in test.py:

update_metrics(metric_dict, results)

Thanks for your reply ! I wish you good health and more excellent articles !