Instructions to use fsabiu/keras-modelscan-torchmodulewrapper-coverage-gap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use fsabiu/keras-modelscan-torchmodulewrapper-coverage-gap with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://fsabiu/keras-modelscan-torchmodulewrapper-coverage-gap") - Notebooks
- Google Colab
- Kaggle
| {"summary": {"total_issues_by_severity": {"LOW": 0, "MEDIUM": 1, "HIGH": 0, "CRITICAL": 0}, "total_issues": 1, "input_path": "01-mfv-model-file-vulnerabilities/evidence/EXP-MFV-20260502-001/models/benign_lambda.keras", "absolute_path": "/Users/fsabiu/Documents/Bounty/01-mfv-model-file-vulnerabilities/evidence/EXP-MFV-20260502-001/models", "modelscan_version": "0.8.8", "timestamp": "2026-05-02T11:00:30.051183", "scanned": {"total_scanned": 1, "scanned_files": ["benign_lambda.keras"]}, "skipped": {"total_skipped": 3, "skipped_files": [{"category": "SCAN_NOT_SUPPORTED", "description": "Model Scan did not scan file", "source": "benign_lambda.keras:metadata.json"}, {"category": "SCAN_NOT_SUPPORTED", "description": "Model Scan did not scan file", "source": "benign_lambda.keras:config.json"}, {"category": "MODEL_CONFIG", "description": "Model Config not found", "source": "benign_lambda.keras:model.weights.h5"}]}}, "issues": [{"description": "Use of unsafe operator 'Lambda' from module 'Keras'", "operator": "Lambda", "module": "Keras", "source": "benign_lambda.keras:config.json", "scanner": "modelscan.scanners.KerasLambdaDetectScan", "severity": "MEDIUM"}], "errors": []} |