Open bryandam opened 12 months ago
I too would be interested in the same
I had similar issues getting it running.
I went back through the changelog and at one point the author deleted best_model_synthesis.pt, but moved it to best_model_synthesis3.pt.
If you make a copy with the name back to best_model_synthesis.pt, it seems to work again. At least a lot better than it did. It looks like the author may have stopped working on it, I wonder if there is a way to get attention to make the change?
Just got this running (Aug 2023), had to wrangle some dependencies to get Flask 1.1.2 working, and figured I'd share here.
First, Flask 1.1.2 won't build/work on newer version of Python. I created a virtual environment using Python 3.7.9 to get Flask building.
Second, Flask 1.1.2 doesn't work with newer version of it's own dependencies so I installed the following versions before Flask. Merely adding these lines above Flask in the requirements file should work: Jinja2==3.0.3 itsdangerous==2.0.1 werkzeug==2.0.3
Lastly, I had to move the best_model_synthesis.pt from the X folder into results\synthesis to avoid a runtime error when generating text.
That allowed me to get it all working but while I'll test it some more I couldn't get it to match the accuracy of the demo video with the same inputs:![image](https://github.com/swechhasingh/Handwriting-synthesis/assets/5198361/0e0ff723-7892-46f9-8f54-1d11b18f64ac)