-
Notifications
You must be signed in to change notification settings - Fork 0
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
Move some reader logic into abstract base class and implement reader for all-class godot data #17
base: main
Are you sure you want to change the base?
Conversation
I'm hella petty so I force-pushed to change the author of the commits I made on the lab PC to myself instead of vince |
The tasks are for choosing which sub-directory to output to |
If there's an online copy of the dataset, can you link it here so that I can test it out locally? Also, can you briefly specify what the expected input for this script is and how to set it up reproducibly? That can go in the class description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to be too perfectionistic, but I think I should have high expectations here
# same as superclass constructor but without path checking because we need to swap order | ||
# of task and directory (e.g. train/images -> images/train) | ||
|
||
def read( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my understadning, this would only support classifiation, right? Why don't we just implement detection support as well? It should just be a little bit of easy math.
…urn 4 bounding boxes per target, for each sub-label
ok @MinhxNguyen7 this is done for real now |
Summary
The new Godot reader doesn't actually use the abstract base class because it takes a Godot dataset as input instead of a dataset that's YOLO-formatted.
I also edited
YoloWriter
to print out one of the errors in addition to raising it so it's visible during multiprocessingTesting
/home/forge/eric/uavf_2024/imaging_training_2024
py -m yolo_to_yolo.run_godot_reader
This will create a folder in
/datasets/godot_processed
. If you want to reproduce on a different machine, you can scp down/datasets/godot_raw/godot_data_small_100
and edit the input/output paths of the main script.