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

An issue about the generator. #177

Closed
alance123 opened this issue Apr 12, 2020 · 2 comments
Closed

An issue about the generator. #177

alance123 opened this issue Apr 12, 2020 · 2 comments

Comments

@alance123
Copy link

Hello, in the trainGenerator, you use one image_datagen and one mask_datagen, but they load data from different directory, how could you say ---the label of image 1 is actually the label of image 1?

@deaspo
Copy link

deaspo commented Apr 12, 2020

In this case they may be in separate folders but the file names corresponds so that image file001.png in image foder corressponds to mask file001.png in the mask folder. Else it can interpret folder names as the classes of different images are grouped according to classes and saved into their respective directoris (in this cases no mask files). Read more about about the flow_from_directory function if you want to understand.

@alance123
Copy link
Author

thank u.

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

2 participants