class_docstr: Early stopping for deep model training
class_docstr_tok: ["Early","stopping","for","deep","model","training"]
code: def load_best_model(self, model):
      model.load_state_dict(self.best_model_state_dict)
  
imports: import logging
  import numpy
label_desc: Use image node_id 4 for calling the EarlyStopping obj's underlying member method code with example usage: obj.load_best_model(model) without return types