ion object, and the model file that was used to load the model. (Return model_file if that is used to load the model)</p>

          <p>In this function, setup the network, load the saved weights from the model_file. If model_file is None load the weights from the latest model. The placeholders (if any) used during training, should be converted to constant tensors.</p>


<p> To use pretrained weights (eg. Imagenet weights) for TF 1.x based networks, put the location of the pretrained weights in self.pretrai