haven-jeon / PyKoSpacing

Automatic Korean word spacing with Python
GNU General Public License v3.0
403 stars 118 forks source link

Model format change and update for supporting TensorFlow Keras v3. #63

Closed m4a1carbin4 closed 5 months ago

m4a1carbin4 commented 5 months ago

To use the existing model files in the Keras v3 environment, convert the existing model in the Keras v2 environment to the TF SavedModel format, and update the model loading and inference parts to correspond to these changes for Keras v3.

My test results confirm that it now works correctly with TensorFlow version 2.16.1( keras 3.3.3 ) with python 3.12.3 (test.py)

haven-jeon commented 5 months ago

I tested it and confirmed that it works well. Thank you so much for your work and I will merge the code.

m4a1carbin4 commented 5 months ago

thanks!!