checkpoint_save_path = "./checkpoint/discontinuity.ckpt"
if os.path.exists(checkpoint_save_path + '.index'):
print('-------------load the model-----------------')
model.load_weights(checkpoint_save_path)
cp_callback = tf.keras.callbacks.ModelCheckpoint(filepath=checkpoint_save_path,
save_weights_only=True,
save_best_only=True)
his = model.fit(dataset, label, batch_size=5000, epochs=1000, validation_split=0.1, validation_freq=1,callbacks=[cp_callback])
利用Modelcheckpoint形成的保存最佳模型 ,生成的checkpoint文件只有这三个 请问为什么没有生成meta文件呢?我看别人的checkpoint都会生成meta文件