githubharald / SimpleHTR

Handwritten Text Recognition (HTR) system implemented with TensorFlow.
https://towardsdatascience.com/2326a3487cd5
MIT License
1.99k stars 893 forks source link

tensorflow.python.framework.errors_impl.NotFoundError: Key batch_normalization_1/beta not found in checkpoint #179

Open younestr opened 1 day ago

younestr commented 1 day ago

When running the testing command for this model after training it from scratch , on the words : "python main.py --img_file ..test_images/word.png" .

I manually inspected the model's snapshot , i found : " "tensor: batch_normalization_1_1/beta (float32) [64] tensor: batch_normalization_1_1/beta/Adam (float32) [64] tensor: batch_normalization_1_1/beta/Adam_1 (float32) [64] tensor: batch_normalization_1_1/gamma (float32) [64] tensor: batch_normalization_1_1/gamma/Adam (float32) [64] tensor: batch_normalization_1_1/gamma/Adam_1 (float32) [64] tensor: batch_normalization_1_1/moving_mean (float32) [64] tensor: batch_normalization_1_1/moving_variance (float32) [64] ""

P.S : i also did the same with the pretrained model that's provided , but i get the same error