visualize_2_2.py 282 B

123456789
  1. def set_models(self, pred_model, proba_model):
  2. """
  3. Sets the models to use
  4. :param pred_model: the prediction model
  5. :param proba_model: the model that outputs the activation maps
  6. """
  7. self.pred_model = pred_model
  8. self.proba_model = proba_model