-
Notifications
You must be signed in to change notification settings - Fork 23
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
base: main
Are you sure you want to change the base?
Conversation
Keeping it as Draft. TODO : Notebook is not fully there. Needs some comments and descriptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Rajesh, many thanks for the PR. I haven't looked at the notebook yet, the rest of the pr looks good though. I do feel that the 'COODModel' class is pretty cluttered, I think it would be better to split this up into two classes: The 'COODModel' which handles the data preprocessing and prediction, and a new 'OODTrainer' class that interacts with Geti, creates the deployment, pulls the data and prepares it for training. The 'OODTrainer' could output the 'COODModel' as a result of its 'train' method. This would make the feature more modular, rather than putting all the responsibilities in a single class. What do you think?
geti_sdk/detect_ood/ood_model.py
Outdated
self._thresholds_prefix + threshold_name | ||
] | ||
|
||
def _train_cood_hpo( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this is not used at the moment?
Need optimisatio, better training code,
Yet to check/test the inference and training flow completely.
5937026
to
8f2af0a
Compare
This PR adds :