Skip to content
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

prep_train.py #2

Open
ansib1e opened this issue Mar 3, 2022 · 8 comments
Open

prep_train.py #2

ansib1e opened this issue Mar 3, 2022 · 8 comments

Comments

@ansib1e
Copy link

ansib1e commented Mar 3, 2022

For creating training datasets, is it possible to train the YOLTv5 model using data that was setup for the YOLOv5 format or must it go through the prep_train.py processing to be accepted for training by YOLTv5? Also just to confirm, but for creating training datasets using prep_train.py, are the only two inputs required the training image (.tif) and relavent geojson representing bounding boxes within this image? The main function () seems to be missing the same level of comments/clarification as the other functions in prep_train.py.

P.S. Just curious, for the helper function in prep_train.py called "yolo_from_df", a dataframe of polygons is required as input which the comments said could be created using: DA_Dataset/gj_to_px_bboxes.ipynb. I cant seem to find that ipynb notebooko anywhere in this repo or online. Some directions on how to access this would be greatly appreciated so I can try creating training datasets to test out YOLTv5

Thanks!

@weypro
Copy link

weypro commented Apr 7, 2022

HI. I'm trying to train the model by myself. You can see https://github.com/avanetten/yoltv4/blob/master/notebooks/train_test_pipeline.ipynb

@im-tanyasuri
Copy link

For creating training datasets, is it possible to train the YOLTv5 model using data that was setup for the YOLOv5 format or must it go through the prep_train.py processing to be accepted for training by YOLTv5? Also just to confirm, but for creating training datasets using prep_train.py, are the only two inputs required the training image (.tif) and relavent geojson representing bounding boxes within this image? The main function () seems to be missing the same level of comments/clarification as the other functions in prep_train.py.

P.S. Just curious, for the helper function in prep_train.py called "yolo_from_df", a dataframe of polygons is required as input which the comments said could be created using: DA_Dataset/gj_to_px_bboxes.ipynb. I cant seem to find that ipynb notebooko anywhere in this repo or online. Some directions on how to access this would be greatly appreciated so I can try creating training datasets to test out YOLTv5

Thanks!

Hi,.. I also have the same question, what value does prep_train.py brings to the dataset,. Please let me know, if you have understood it.

@bling-bling-only
Copy link

hi,How do I apply the ordinary data set instead of the remote sensing data set .I 'm trying to train my own data set and don 't know what to modify.

@ShenAoChen2001
Copy link

For creating training datasets, is it possible to train the YOLTv5 model using data that was setup for the YOLOv5 format or must it go through the prep_train.py processing to be accepted for training by YOLTv5? Also just to confirm, but for creating training datasets using prep_train.py, are the only two inputs required the training image (.tif) and relavent geojson representing bounding boxes within this image? The main function () seems to be missing the same level of comments/clarification as the other functions in prep_train.py.
P.S. Just curious, for the helper function in prep_train.py called "yolo_from_df", a dataframe of polygons is required as input which the comments said could be created using: DA_Dataset/gj_to_px_bboxes.ipynb. I cant seem to find that ipynb notebooko anywhere in this repo or online. Some directions on how to access this would be greatly appreciated so I can try creating training datasets to test out YOLTv5
Thanks!

Hi,.. I also have the same question, what value does prep_train.py brings to the dataset,. Please let me know, if you have understood it.

I also have the same problem,if you have understood it,Please teach me how to deal with it,thanks!!!!!!!!

@meisu1
Copy link

meisu1 commented Apr 7, 2023

hi,How do I apply the ordinary data set instead of the remote sensing data set .I 'm trying to train my own data set and don 't know what to modify.

hi,have you already done it ? Shall we have a chat? please send me your contact details

@bling-bling-only
Copy link

hi,How do I apply the ordinary data set instead of the remote sensing data set .I 'm trying to train my own data set and don 't know what to modify.

hi,have you already done it ? Shall we have a chat? please send me your contact details

No, recently busy in other areas, but still to try, if you have a good approach can communicate more

@ShenAoChen2001
Copy link

ShenAoChen2001 commented Apr 10, 2023 via email

@meisu1
Copy link

meisu1 commented Apr 10, 2023

hi,How do I apply the ordinary data set instead of the remote sensing data set .I 'm trying to train my own data set and don 't know what to modify.

hi,have you already done it ? Shall we have a chat? please send me your contact details

No, recently busy in other areas, but still to try, if you have a good approach can communicate more

I've done modifying the parameters in the yaml file and there is no error utill the end of run. I use the .pt file that I have trained for my datasets and it can detect target , but there is few detected target in the result file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants