Skip to content

Commit

Permalink
Update classificationReport.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusdarias authored Feb 15, 2024
1 parent c4c0e39 commit f0b62f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/explainers/images/classificationReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from getmodelfiles import get_model_files
from utils import ontologyConstants
from utils.img_processing import normalise_image_batch
from utils.validation import validate_params
import traceback

class ClassificationReport(Resource):
Expand Down Expand Up @@ -102,6 +103,7 @@ def post(self):
params_json={}
if "params" in params:
params_json=params["params"]
params_json=validate_params(params_json,self.get(_id)["params"])

return self.explain(_id, instance, params_json)

Expand Down

0 comments on commit f0b62f6

Please sign in to comment.