File size: 233 Bytes
69f9410
 
523d797
 
69f9410
523d797
 
1
2
3
4
5
6
7
8
import tensorflow as tf

# Load the existing model
model = tf.keras.models.load_model('./plant_disease_detection_saved_model')

# Save it in the SavedModel format
model.save('./plant_disease_detection_saved_model', save_format='tf')