Unable to run `python3 run.py -ex ../data/test --test --restore`
mrtpk opened this issue · comments
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.
Line 73 in da15fb3
That is caused by the ampersand (&) that was added to the CHAR_VECTOR variable in config.py. If you remove it, you should be able to load the model.
Thanks for the quick response- It solved the issue.