pedram1:

ctually I was wondered more to know about loading a model?
I would like to know, when I trained a model in Google Colab, by just saving the model, cn I again reload that model in another python file (colab also) and just feed it with some data and see the results, without again defining the model ?


Unfortunately you can’t do that. You need to reinitialize the model with any weights and load the weights.
Because for loading the weights you need to have Network with architecture defined