PlagiarismDetectionSystem / convert_model.py
tta1301's picture
Upload 11 files
3fe2af3 verified
raw
history blame contribute delete
210 Bytes
# Load đúng model từ .pkl
import pickle
with open('best_model.pkl', 'rb') as file:
best_model = pickle.load(file)
# best_model là keras model, save sang h5
best_model.save('best_model.h5')