Hi.
I tried the following implementation.
optw = model.optimizer.get_weights()
model.compile(optimizer='adam', loss='mean_squared_error')
print('re-compile')
model.optimizer._create_all_weights(model.trainable_variables)
model.optimizer.set_weights(optw)

This worked, and the outputs of Training 1 and Training 2 now match.
Thank you.
Is it possible to recover a network that has already been re-compiled ?
Or is it okay to continue learning as it is because the display value of loss is just strange and it is operating normally ?
BRs
take hamster