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

What is directory structure for images and masks with multiple class? #2

Open
tclavelle opened this issue Jul 9, 2018 · 1 comment

Comments

@tclavelle
Copy link
Owner

Need to determine how to organize images and masks for multiple classes.

For example, is it image/line/masks or image/masks/line?

Looking at the load_masks() function should help resolve the issue (e.g. protobuff text file ids class when loading masks?)

@tclavelle
Copy link
Owner Author

tclavelle commented Jul 9, 2018

Looks like the important part is that the class labels for each mask instance are returned in a np.array() by the load_masks() function. Thus, as long as we can determine which class each mask belongs to it shouldn't matter the directory structure that the input data is stored in. Easiest choice may be to indicate class in each instance mask.

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