Skip to content

Commit 9ba1e36

Browse files
committed
Add the scan code in landmark detection
1 parent 3c9780b commit 9ba1e36

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎giskard_vision/landmark_detection/Readme.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,17 @@ You can also check our publicly hosted versions of these datasets on S3:
2222
- https://poc-face-aligment.s3.eu-north-1.amazonaws.com/300W/300w.zip.004
2323
- FFHQ (only meta data): https://poc-face-aligment.s3.eu-north-1.amazonaws.com/ffhq/json.zip
2424

25-
## Metrics
25+
## Scan and Metrics
26+
27+
Once the model and dataloader (`dl`) are wrapped, you can scan the model with the scan API in Giskard vision core:
28+
29+
```python
30+
from giskard_vision.core.scanner import scan
31+
32+
results = scan(model, dl)
33+
```
34+
35+
It adapts the [scan API in Giskard Python library](https://github.com/Giskard-AI/giskard#2--scan-your-model-for-issues) to magically scan the vision model with the dataloader. The considered metrics are:
2636

2737
- [x] ME: Mean Euclidean distances
2838
- [x] NME: Normalised Mean Euclidean distances

0 commit comments

Comments
 (0)