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

tfrecord file? #5

Open
ASDRTBFDGGDS opened this issue Mar 6, 2021 · 1 comment
Open

tfrecord file? #5

ASDRTBFDGGDS opened this issue Mar 6, 2021 · 1 comment

Comments

@ASDRTBFDGGDS
Copy link

If I want to use your method on other datasets, how can I generate the tfrecord file ? Can you share the code for generating tfrecord?

@Yuliang-Zou
Copy link

We used the code in the official deeplab repository to generate the tfrecords.

For labeled data, it should be quite straightforward to adapt the code. For unlabeled data, you will need to first create some fake label files (same size as the image, but filled with ignored values (default: 255)), and then adapt the code.

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