We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to use MS-COCO dataset for training. After i serialize the MS-COCO image using
img = tf.gfile.FastGFile(img_path, 'rb').read() or img = open(img_path, 'rb').read()
and save tfrecords,
i always meets an error, the shape of decoded image is not corresponded to its original shape.
When i change this tf.decode_raw into tf.io.decode_image i solve the problem.
tf.decode_raw
tf.io.decode_image
glow/data_loaders/get_data.py
Line 19 in eaff217
I manually check that bytes files have smaller size than the original size (hxwxc) What is the reason???
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to use MS-COCO dataset for training.
After i serialize the MS-COCO image using
and save tfrecords,
i always meets an error, the shape of decoded image is not corresponded to its original shape.
When i change this
tf.decode_raw
intotf.io.decode_image
i solve the problem.glow/data_loaders/get_data.py
Line 19 in eaff217
I manually check that bytes files have smaller size than the original size (hxwxc)
What is the reason???
The text was updated successfully, but these errors were encountered: