As I understand,
IF you are trying to import .h5
files of a pre-trained model and use that for the predict :
then, Yes. you can
from tensorflow.keras.models import load_model
model = load_model("path to .h5 files")
## if there is a separate weight file
model.load_weights("path to weight .h5 file")
after that, you can use model
variable for predictions.
but
If you are trying to see how the model is trained, then you have to get log files for a particular training instance. And use tensorboard to visualize easily.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…