When python3 run.py -ex ../data/test --test --restore is excecuted, below error is raised:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [512,71] rhs shape= [512,70]. This error is raised at the line self.saver.restore(self.session, ckpt). This might be due to a difference in model implementation and checkpoint.
When
python3 run.py -ex ../data/test --test --restore
is excecuted, below error is raised:tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [512,71] rhs shape= [512,70]
. This error is raised at the lineself.saver.restore(self.session, ckpt)
. This might be due to a difference in model implementation and checkpoint.https://github.com/Belval/CRNN/blob/da15fb3d9eb629e612a5c77ddc05435d8d6aaac1/CRNN/crnn.py#L73