lucastabelini / PolyLaneNet

Code for the paper entitled "PolyLaneNet: Lane Estimation via Deep Polynomial Regression" (ICPR 2020)
https://arxiv.org/abs/2004.10924
MIT License
295 stars 74 forks source link

How to prepare the label for model training? #5

Closed Jail0910 closed 4 years ago

Jail0910 commented 4 years ago

How to prepare the label for model training?

lucastabelini commented 4 years ago

You can either implement a data loader for you dataset, similiar to the TuSimple one provided, or transform your annotations to the TuSimple format, described here.

In the one provided, each JSON here will be loaded. Their paths will be joint with the dataset root path. That is, if you pass the argument root='tusimple' and the JSON path is train.json, it will load the file in tusimple/train.json and read the annotations in the aforementioned TuSimple format.

Jail0910 commented 4 years ago

You can either implement a data loader for you dataset, similiar to the TuSimple one provided, or transform your annotations to the TuSimple format, described here.

In the one provided, each JSON here will be loaded. Their paths will be joint with the dataset root path. That is, if you pass the argument root='tusimple' and the JSON path is train.json, it will load the file in tusimple/train.json and read the annotations in the aforementioned TuSimple format.

thank u, I have settled it

Petros626 commented 7 months ago

@Jail0910 how does the transformation to .json format works? I've read the linked links, but struggle with the implementation idea.

ZSBSB commented 1 month ago

如何准备用于模型训练的标签? 您好,我刚开始学习车道线检测,请问这个怎么解决的?