Skip to content

Commit

Permalink
Merge pull request #116 from isee4xai/jesusdarias-patch-2
Browse files Browse the repository at this point in the history
Update classificationReport.py
  • Loading branch information
jesusdarias authored Feb 15, 2024
2 parents c4c0e39 + f0b62f6 commit f5c8cb8
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 f5c8cb8

Please sign in to comment.