it might be the model you loaded is trained with tensorflow version different from the loading environment. refer https://github.com/tensorflow/tensorflow/issues/66381