Reusable, easy-to-use tensorflow uncertainty module package.
Under active development.
Considering deep learning workflow, uncertainty plays a critical role when applying in real applications and is essential property in a safety issue. Autonomous driving, robotics, or critical decision-making, for instance, such domains are especially caring for safety which is uncertainty in deep learning.
Recently, plenty of researches related to uncertainty is actively ongoing. In this project, we leverage TensorFlow to additionally model uncertainty in standard deep learning architectures. Essentially, we focus on reusability and easy-to-use that only least numbers of parameters are necessary to run target functions.
# Install using pip
pip install safeai
# Or, install from source:
git clone https://github.com/EpiSci/SafeAI &&\
cd SafeAI && pip install -e .
Currently, SafeAI is being developed and tested with tensorflow version 1.10, under both python version 3.6 and 2.7.
SafeAI models are implemented -- [introducing overall concept of our code.]
import tensorflow as tf
from safeai.models import confident_classifier
MESSAGE = "And Short, intuitive sample code goes here"
Every python code in SafeAI was not meant to be directly run as a single script.
Please have them executed as a module, with -m flag
for testing and running the examples in the project.
Also they need to be run from project root folder, not at examples/
directory, nor safeai/tests/
.
# Clone project, cd into project, install dependencies
git clone https://github.com/EpiSci/SafeAI &&\
cd SafeAI && pip install -e .
# To run the example:
python -m examples.[script name without '.py'] # e.g.) python -m examples.joint_confident
# To execute all tests
python -m unittest discover
-
Joint Confident Classifier (safeai/models/joint_confident.py)
: Training Confidence-Calibrated Classifier for Detecting Out-of-distribution Samples(2017)
Kimin Lee et al | arxiv.org/abs | Author's repository -
List other models in the same form as above
We appreciate your interest in this project!
Before making an issue, please consider reading Our contribution guideline.