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

How to generate tfmasks? #2

Open
arunpatro opened this issue Nov 13, 2018 · 4 comments
Open

How to generate tfmasks? #2

arunpatro opened this issue Nov 13, 2018 · 4 comments

Comments

@arunpatro
Copy link

arunpatro commented Nov 13, 2018

Hi,

While generating the tfrecords for the dataset, the code here:

tfm_files = sorted(glob.glob(os.path.join(self.tfrecord_dir, '*.tfmasks')))

loads *.tfmasks. But the code in the repo doesn't create tfmasks. Can someone share the format for tfmasks? Is it a binary valued image for each image? This can be created using segmentation but how to create a tfrecord/tfmask format of it?

Thank you.

@gokyildirim
Copy link
Contributor

I will create an updated branch soon with an example toy dataset, I hope the dataset creation will be clearer.

@gokyildirim
Copy link
Contributor

@arunpatro could you check the new branch "toydata", I hope it is clearer now.

@arunpatro
Copy link
Author

arunpatro commented Jan 26, 2019 via email

@gokyildirim
Copy link
Contributor

yes, I've changed a few things on how the average color is handled. But both branches should lead to compatible trained models.

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