-
Notifications
You must be signed in to change notification settings - Fork 62
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 does tfrecord generate ? #10
Comments
I don't know if I'm doing it right. I can generate a tfrecord file according to the author。But then there was an error somewhere else and it didn't work。。。。。 |
We have just uploaded the code to generate TFRecord dataset for MZSR. Please try with new code. |
Thanks so much for your reply. I will have a try. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
You said that "Remove 'label' key in 'write_to_tfrecord()' function.“ and save the ground-truth patches in your GitHub. However, the label key is relevant to grond-truth. Is this wrong?
I "Remove all contents regarding low-resolution images in the 'generate_TFRecord()' function" as you said and save the label key.
Then ** I have got the following error :**
tensorflow.python.framework.errors_impl.InvalidArgumentError: Feature: image (data type: string) is required but could not be found.
[[Node: ParseSingleExample/ParseSingleExample = ParseSingleExample[Tdense=[DT_STRING], dense_keys=["image"], dense_shapes=[[]], num_sparse=0, sparse_keys=[], sparse_types=[]](arg0, ParseSingleExample/Const)]]
[[Node: IteratorGetNext = IteratorGetNextoutput_shapes=[[?,64,64,3]], output_types=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Does anyone have ideas ?
The text was updated successfully, but these errors were encountered: