(self, model_id)
Manually unload a model.
           It will free the memory and cancel the timer
Manually unload a model.
           It will free the memory and cancel the timer
Manually unload a model . It will free the memory and cancel the timer
def unload_model(self, model_id):
        """Manually unload a model.
           It will free the memory and cancel the timer
        """
        if model_id in self.models and self.models[model_id] is not None:
            self.models[model_id].unload()
        else:
            raise ServerModelError("No such model '%s'" % str(model_id))
def unload_model ( self , model_id ) : if model_id in self . models and self . models [ model_id ] is not None : self . models [ model_id ] . unload ( ) else : raise ServerModelError ( "No such model '%s'" % str ( model_id ) )