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

Add out-of-distribution detection notebook #247

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ dist
/tests/artifacts
/tests/htmlcov/
/tests/report*

# Downloaded datasets
/notebooks/use_cases/data/ood_detection
1,121 changes: 1,121 additions & 0 deletions notebooks/use_cases/103_out_of_distribution_detection.ipynb

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion notebooks/use_cases/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,26 @@
# and limitations under the License.


from .image import display_image_in_notebook, simulate_low_light_image
from .image import (
TransformImages,
display_image_in_notebook,
display_sample_images_in_folder,
extract_features_from_imageclient,
extract_features_from_img_folder,
get_image_paths,
simulate_low_light_image,
)
from .ood_detect import show_top_n_misclassifications
from .upload import Uploader
from .video import VideoPlayer

__all__ = [
"get_image_paths",
"show_top_n_misclassifications",
"extract_features_from_imageclient",
"display_sample_images_in_folder",
"extract_features_from_img_folder",
"TransformImages",
"simulate_low_light_image",
"display_image_in_notebook",
"VideoPlayer",
Expand Down
Loading