Ultra-Fast-Lane-Detection-v2 icon indicating copy to clipboard operation
Ultra-Fast-Lane-Detection-v2 copied to clipboard

Inference on a custom dataset

Open SeheeKim618 opened this issue 3 years ago • 1 comments

Hi there,

How can I perform inference on a custom dataset? I want to test my video to detect the lane.

thanks.

SeheeKim618 avatar Jul 17 '22 08:07 SeheeKim618

Hi, If you want to infer on a custom dataset, you can try to use these codes: https://github.com/cfzd/Ultra-Fast-Lane-Detection-v2/blob/f666202d39aedcc624248e65dd9c0604b1c6ac8c/evaluation/eval_wrapper.py#L510-L512

In the code above, it will generate a text file containing the coordinates of lanes. I think this is what you want.

cfzd avatar Jul 18 '22 06:07 cfzd