Traceback (most recent call last):


 "train_shadownet.py", line 575, in <module>

need_decode=args.decode_outputs


 "train_shadownet.py", line 319, in train_shadownet

[optimizer, train_ctc_loss, merge_summary_op])


 "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950, in run

run_metadata_ptr)


 "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173, in _run

feed_dict_tensor, options, run_metadata)


 "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run

run_metadata)


 "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call

raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Saw a non-null label (index >= num_classes - 1) following a null label, batch: 3 num_classes: 37 labels: 323,642,4,20,250,682 labels seen so far: 

Traceback (most recent call last):


 "repro.py", line 6, in <module>

im.load()


 "/nix/store/kaymr52l64afckrlprsfxnnhy1lj5bxd-python3.6-Pillow-5.2.0/lib/python3.6/site-packages/PIL/Image
.py", line 254, in load

raise_ioerror(err_code)


 "/nix/store/kaymr52l64afckrlprsfxnnhy1lj5bxd-python3.6-Pillow-5.2.0/lib/python3.6/site-packages/PIL/Image
.py", line 59, in raise_ioerror

raise IOError(message + " when reading image file")
OSError: codec configuration error when reading image file
