Spaces:
Build error
Build error
error logging
Browse files
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 |
|