Traceback (most recent call last):


 "preprocess.py", line 258, in <module>

main()


 "preprocess.py", line 254, in main

frequency_threshold=args.frequency_threshold)


 "preprocess.py", line 149, in preprocess

pipeline=pipeline))


 "/usr/local/lib/python2.7/dist-packages/apache_beam/transforms/ptransform.py", line 709, in __ror__

return self.transform.__ror__(pvalueish, self.label)


 "/usr/local/lib/python2.7/dist-packages/apache_beam/transforms/ptransform.py", line 388, in __ror__

result = p.apply(self, pvalueish, label)


 "/usr/local/lib/python2.7/dist-packages/apache_beam/pipeline.py", line 229, in apply

return self.apply(transform, pvalueish)


 "/usr/local/lib/python2.7/dist-packages/apache_beam/pipeline.py", line 265, in apply

pvalueish_result = self.runner.apply(transform, pvalueish)


 "/usr/local/lib/python2.7/dist-packages/apache_beam/runners/runner.py", line 150, in apply

return m(transform, input)


 "/usr/local/lib/python2.7/dist-packages/apache_beam/runners/runner.py", line 156, in apply_PTransform

return transform.expand(input)


 "/usr/local/lib/python2.7/dist-packages/tensorflow_transform/beam/tft_beam_io/beam_metadata_io.py", line 57, in expand

metadata_io.write_metadata(metadata, self._path)


 "/usr/local/lib/python2.7/dist-packages/tensorflow_transform/tf_metadata/metadata_io.py", line 56, in write_metadata

version.write(metadata, vdir)


 "/usr/local/lib/python2.7/dist-packages/tensorflow_transform/tf_metadata/version_api.py", line 88, in write

vdir.create()


 "/usr/local/lib/python2.7/dist-packages/tensorflow_transform/tf_metadata/metadata_directory.py", line 57, in create

tf.gfile.MakeDirs(self._basepath)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 367, in recursive_create_dir

pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(dirname), status)


 "/usr/lib/python2.7/contextlib.py", line 24, in __exit__

self.gen.next()


 "/usr/local/lib/python2.7/dist-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.InvalidArgumentError: 'object' must be a non-empty string.

Traceback (most recent call last):


 "main.py", line 145, in <module>

main()


 "main.py", line 131, in main

model = Model(loader.charList, decoderType)


 "C:\Users\HP\Desktop\Handwritten-Text-Recognition\src\Model.py", line 51, in __init__

(self.sess, self.saver) = self.setupTF()


 "C:\Users\HP\Desktop\Handwritten-Text-Recognition\src\Model.py", line 150, in setupTF

saver.restore(sess, latestSnapshot)


 "C:\Users\HP\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\training\saver.py", line 1560, in restore

{self.saver_def.filename_tensor_name: save_path})


 "C:\Users\HP\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\client\session.py", line 895, in run

run_metadata_ptr)


 "C:\Users\HP\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\client\session.py", line 1124, in _run

feed_dict_tensor, options, run_metadata)


 "C:\Users\HP\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\client\session.py", line 1321, in _do_run

options, run_metadata)


 "C:\Users\HP\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\client\session.py", line 1340, in _do_call

raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [1,1,512,50] rhs shape= [1,1,512,80]
