wss icon indicating copy to clipboard operation
wss copied to clipboard

tfrecord file?

Open ASDRTBFDGGDS opened this issue 4 years ago • 1 comments

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?

ASDRTBFDGGDS avatar Mar 06 '21 02:03 ASDRTBFDGGDS

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.

Yuliang-Zou avatar Mar 06 '21 05:03 Yuliang-Zou