Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OOD Detection using COOD #493

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
d3f52d4
Initial Commit
rajeshgangireddy Jul 18, 2024
632233e
Copy of notebook 103
rajeshgangireddy Jul 22, 2024
edbce1b
Rename OODModel to COODModel
rajeshgangireddy Jul 22, 2024
d95c4d3
Add code for initial steps - fetch Deployment models,
rajeshgangireddy Jul 22, 2024
013a6c4
Create ood_debug_delete_before_pr.py
rajeshgangireddy Jul 22, 2024
50b24bb
fix logic to get xai model
rajeshgangireddy Jul 23, 2024
99ab08e
add method to download, infer the id data
rajeshgangireddy Jul 31, 2024
ac76588
Update ood_model.py
rajeshgangireddy Jul 31, 2024
f718269
added code to prepare id and ood data - draft
rajeshgangireddy Aug 1, 2024
d99ca98
Update ood_model.py
rajeshgangireddy Aug 2, 2024
23213e8
Update ood_model.py
rajeshgangireddy Aug 5, 2024
e5b5991
Update ood_model.py
rajeshgangireddy Aug 6, 2024
e5eb494
training and inference works.
rajeshgangireddy Aug 12, 2024
c5984d0
move the deployment getting method to utils
rajeshgangireddy Aug 13, 2024
2821ea3
change number of cutouts to be 2
rajeshgangireddy Aug 14, 2024
9b1ef26
Refactored OOD Model
rajeshgangireddy Aug 14, 2024
9885fbd
Abstract class for sub models
rajeshgangireddy Aug 14, 2024
34ecff3
change corruption parameters again
rajeshgangireddy Aug 14, 2024
22e5d0b
Update ood_debug_delete_before_pr.py
rajeshgangireddy Aug 14, 2024
bdd3822
add more ood measures
rajeshgangireddy Aug 14, 2024
85cd5ed
Cleanup and added docstrings
rajeshgangireddy Aug 15, 2024
500b8da
Initial commit for notebook.
rajeshgangireddy Aug 21, 2024
8a0117c
Update 104_post_inference_hook_ood.ipynb
rajeshgangireddy Sep 4, 2024
5990dd1
Possibility to provide a image dir as reference for OOD data
rajeshgangireddy Sep 6, 2024
edd7392
Add train and test split functionality
rajeshgangireddy Sep 6, 2024
c36234e
better listing of images
rajeshgangireddy Sep 6, 2024
8b0c98e
Updated FRE calculations , added a new variant scores
rajeshgangireddy Sep 9, 2024
5fffa23
Determine best threshold for certain metrics.
rajeshgangireddy Sep 10, 2024
f97a151
WIP files for testing and notebook
rajeshgangireddy Sep 10, 2024
fe687c2
Refactor - Move functions into utils, move sub ood methods
rajeshgangireddy Sep 16, 2024
74e91cf
Demo Notebook
rajeshgangireddy Sep 20, 2024
8f2af0a
Delete ood_debug_delete_before_pr.py
rajeshgangireddy Sep 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change number of cutouts to be 2
rajeshgangireddy committed Oct 24, 2024
commit 2821ea3d0f1ba065adb8d03b6136d87c7350290d
6 changes: 3 additions & 3 deletions geti_sdk/detect_ood/utils.py
Original file line number Diff line number Diff line change
@@ -229,10 +229,10 @@ def __init__(
transform = albumentations.Compose(
[
albumentations.CoarseDropout(
max_holes=1,
max_holes=2,
p=1,
hole_width_range=(0.5, 0.7),
hole_height_range=(0.5, 0.7),
hole_width_range=(0.25, 0.35),
hole_height_range=(0.25, 0.35),
)
]
)