File size: 175 Bytes
c5a65e1
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import tensorflow as tf

# Load SavedModel
model = tf.keras.models.load_model('.')

# Save sebagai .h5
model.save('model.h5', save_format='h5')
print("Model converted to .h5")