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

when i tried udc_train.py i got error: pywrap_tensorflow.TF_GetCode(status)) tensorflow.python.framework.errors_impl.DataLossError: corrupted record at 0 [[Node: read_batch_features_train/read/ReaderReadUpToV2 = ReaderReadUpToV2[_device="/job:localhost/replica:0/task:0/cpu:0"](read_batch_features_train/read/TFRecordReaderV2, read_batch_features_train/file_name_queue, read_batch_features_train/read/ReaderReadUpToV2/num_records)]] Process finished with exit code 1 #59

Open
bandarikanth opened this issue Aug 8, 2017 · 1 comment

Comments

@bandarikanth
Copy link

File "/home/mcis-lap-49/work/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 556, in _close_internal
self._sess.close()
File "/home/mcis-lap-49/work/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 791, in close
self._sess.close()
File "/home/mcis-lap-49/work/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 888, in close
ignore_live_threads=True)
File "/home/mcis-lap-49/work/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/coordinator.py", line 389, in join
six.reraise(*self._exc_info_to_raise)
File "/home/mcis-lap-49/work/anaconda3/lib/python3.6/site-packages/six.py", line 686, in reraise
raise value
File "/home/mcis-lap-49/work/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/queue_runner_impl.py", line 238, in _run
enqueue_callable()
File "/home/mcis-lap-49/work/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1063, in _single_operation_run
target_list_as_strings, status, None)
File "/home/mcis-lap-49/work/anaconda3/lib/python3.6/contextlib.py", line 89, in exit
next(self.gen)
File "/home/mcis-lap-49/work/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.DataLossError: corrupted record at 0
[[Node: read_batch_features_train/read/ReaderReadUpToV2 = ReaderReadUpToV2[_device="/job:localhost/replica:0/task:0/cpu:0"](read_batch_features_train/read/TFRecordReaderV2, read_batch_features_train/file_name_queue, read_batch_features_train/read/ReaderReadUpToV2/num_records)]]

Process finished with exit code 1

@hoogang
Copy link

hoogang commented Jun 24, 2018

same problem when use tensorflow-gpu

W tensorflow/core/framework/op_kernel.cc:993] Out of range: FIFOQueue '_4_read_batch_features/file_name_queue' is closed and has insufficient elements (requested 1, current size 0)
[[Node: read_batch_features/read/ReaderReadUpToV2 = ReaderReadUpToV2[_device="/job:localhost/replica:0/task:0/cpu:0"](read_batch_features/read/TFRecordReaderV2, read_batch_features/file_name_queue, read_batch_features/read/ReaderReadUpToV2/num_records)]]
W tensorflow/core/framework/op_kernel.cc:993] Out of range: FIFOQueue '_4_read_batch_features/file_name_queue' is closed and has insufficient elements (requested 1, current size 0)
[[Node: read_batch_features/read/ReaderReadUpToV2 = ReaderReadUpToV2[_device="/job:localhost/replica:0/task:0/cpu:0"](read_batch_features/read/TFRecordReaderV2, read_batch_features/file_name_queue, read_batch_features/read/ReaderReadUpToV2/num_records)]]

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

3 participants
@hoogang @bandarikanth and others