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

Feature request: Input folder path #51

Open
danigit opened this issue Jul 2, 2023 · 0 comments
Open

Feature request: Input folder path #51

danigit opened this issue Jul 2, 2023 · 0 comments

Comments

@danigit
Copy link

danigit commented Jul 2, 2023

Hi, thanks for developing this library. I just wander if it would make sense and be possible to allow giving as input_folder the complete path to the folder that contains the files. For example I'm working with images and annotations and i have the following structure

data\
- images\
- im_1.jpg
- im_2.jpg
- ...
- annotations\
- im_1.xml
- im_2.xml
- ...

The problem is that ratio function asks for the input_folder to be the path to a directory, which in my case would be data. But this would also split the annotations, which would be great if the split for the annotations would mirror the split for the images, but apparently it does not. It seems that the split for images is independent from the split of annotations, for example i can find im_1.jpg in the train folder and the im_1.xml in the validation folder.

Thanks, and keep on the excellent work that you are doing.

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

1 participant