chanycha commited on
Commit
d1e91d3
·
1 Parent(s): 2d64dbd

error logging

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -605,6 +605,7 @@ class ExplainerCheckbox(Component):
605
  kwargs['model'] = self.experiment.model
606
  explainer = exp_res['class'](**kwargs)
607
  except Exception as e:
 
608
  # If the optimization is failed, use the default parameter explainer as optimal
609
  explainer = self.experiment.manager._explainers[self.default_exp_id]
610
 
 
605
  kwargs['model'] = self.experiment.model
606
  explainer = exp_res['class'](**kwargs)
607
  except Exception as e:
608
+ print(f"[Optimizer] Explainer Reconstrcution Error Catched : {e}")
609
  # If the optimization is failed, use the default parameter explainer as optimal
610
  explainer = self.experiment.manager._explainers[self.default_exp_id]
611