我正在从本教程https://www.tensorflow.org/tutorials/text/nmt_with_attention#restore_the_latest_checkpoint_and_test我看到它使用这个命令来加载保存的模型 # restoring the latest checkpoint in checkpoint_dir
checkpoint.restore(tf.train.latest_checkpoint(che
to save and resume training a GAN with multiple model parts with Tensorflow 2/ Keras,并被告知使用tf.train.Checkpoint我已经尝试了如下实现: def train(epochs, batch_size):
if ckpt_