-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generating label_data.json #52
Comments
Actually, you can generate the label_data.json according to the instruction of TuSimple dataset (manually generate the file). Since I am not familiar with the label generation process, you can seek help in lanenet repo. |
First of all, thank you very much for your response. What instruction do you mean? In the lane_demo they already use two json files.
The label file that i mean is ls located in the guidlines section. Did you train the network with your own dataset? If yes, how did you solve the problem? |
I have not trained the network with my own dataset. The json file is used to generate the labels (i.e., semantic segmentation maps which are comprised of 1,2,3...). You can refer to this issue and generate the json file from semantic segmentation outputs. |
Is it possible with this pred_json.py file to generate a json file which i can use to generate the gt_images_instance and the gt_image_binary of each image? Its really important for me to train the network with my own dataset.I appreciate you trying to help me. |
pred_json.py is used to generate the corresponding json file from segmentation maps. pred_test_SCNN_02_0001_02_6_e01_full.json is just the output file. |
@cardwing What do you mean with segmentation maps? edit: With this pred_json.py from #4 it is possible to generate a file for evaluation but not for training. The attributes are not the same :
pred_json.py
Can you modify the script so that its possible to set a directory with the raw pictures as input and as output a json file with the training paramters are generated? It would be awesome. |
Segmentation maps are comprised of 1,2,3,... and each number denotes one class. |
Hello @cardwing
I am currently trying to train the lanenet model with my own dataset but i missing some files.
M current status:
Now i need to train it with my own dataset (I generated images from a simulation program)
In order to train the network i need additionaly the gt_images_instance and the gt_image_binary of each image.
For that i can use the generate_tusimple_dataset.py file in the tools directory and my files need to be structured as in the tuSimple directory, but my problem is i can not run the file because i dont have the label_data.json . How can i generate the json file with all all the attributes
and, am i doing something wrong or is there perhaps a better way to train the network ?
I thank you in advance for any answer.
The text was updated successfully, but these errors were encountered: