Error when trying to rename a pretrained model on tf.keras
According to this question here on StackOverflow you need to use:
modelTemp._name = 'inception'
According to this question here on StackOverflow you need to use:
modelTemp._name = 'inception'