githubharald / SimpleHTR

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

Same issue as #101 when applying transfer learning #102

Closed premtibadiya closed 3 years ago

githubharald commented 3 years ago

retrain from scratch. It is really not worth the effort doing any work in this direction for a model that trains in 3h even on a small GPU.

premtibadiya commented 3 years ago

I dont have small GPU But I am trying transfer learning and where is the code which loads the weights trained from IAM dataset

githubharald commented 3 years ago

even on CPU is is trained in less than a day. If you want to transfer the weights, you have to read the TF documentation how to do this. I simply use the function tf.train.latest_checkpoint to load the latest checkpoint file, that means, TF cares about all the details.