TensorFlowLaboratory icon indicating copy to clipboard operation
TensorFlowLaboratory copied to clipboard

训练问题

Open guandeng opened this issue 6 years ago • 0 comments

已经跑出tfrecords格式,接着用官网的train.py训练,报了下面的错误,请问是导出tfrecords格式有问题吗

tensorflow.python.framework.errors_impl.InvalidArgumentError: assertion failed: [Unable to decode bytes as JPEG, PNG, GIF, or BMP] [[Node: case/cond/decode_image/cond_jpeg/cond_png/cond_gif/Assert_1/Assert = Assert[T=[DT_STRING], summarize=3, _device="/job:localhost/replica:0/task:0/device:CPU:0"](case/cond/decode_image/cond_jpeg/cond_png/cond_gif/is_bmp, case/cond/decode_image/cond_jpeg/cond_png/cond_gif/Assert_1/Assert/data_0)]]

guandeng avatar Mar 20 '18 10:03 guandeng