(self, opt, model_id=None, **model_kwargs)
return model_id, load_time
Loading a model given a set of options
Loading a model given a set of options
Loading a model given a set of options
def load_model(self, opt, model_id=None, **model_kwargs):
        """Loading a model given a set of options
        """
        model_id = self.preload_model(opt, model_id=model_id, **model_kwargs)
        load_time = self.models[model_id].load_time

        return model_id, load_time
def load_model ( self , opt , model_id = None , * * model_kwargs ) : model_id = self . preload_model ( opt , model_id = model_id , * * model_kwargs ) load_time = self . models [ model_id ] . load_time return model_id , load_time