One advantage of saving as a .ckpt model is that when you need to continue training, you only need to import the trained model results, and then continue training on this basis. The following .pb format cannot continue training, because the model parameters saved in this format have been converted to constants (not variables).
Use the pre-training model to fine-tune the neural network needs to do: 1. Define the neural network structure; 2. Import the pre-training model parameters; 3. Read the data for training; 4. Use Tensorboard to visualize the training process (omitted here, left to I will talk about it separately later).