View on GitHub

Vision_UI

UI visual interface for fastai - now compatible with Google Colab

Vision_UI

Graphical User interface for fastai

GitHub license

Open In Colab currently only works with version 1

Visual UI adds a graphical interface to fastai allowing the user to quickly load, choose parameters, train and view results without the need to dig deep into the code.


Updates

06/03/2020

03/17/2020

Updates below are for version 1

Files: Visual_UI.ipyb and vision_ui.py

12/23/2019

11/12/2019

10/12/2019 - Open In Colab

09/25/2019 - xresnet architecture

09/12/2019 - Confusion Matrix Upgrades (currently only works if there are 2 classes)

Option to view images with heatmaps or not

Option to view images within each section of the matrix

If heatmap option is ‘YES’ you can choose colormap, interpolation and alpha parameters

Examples of using different parameters for viewing images

Also have the option to view the images without the heatmap feature. Images within each matrix class display Index, Actual_Class, Predicted_Class, Prediction value, Loss and Image location

Images are stored within the path folder under their respective confusion matrix tags

View saved image files from various sections of the confusion matrix and compare their heatmap images.

False Positive True Positive True Negative False Negative

07/09/2019

06/05/2019

06/03/2019


All tabs are provided within an accordion design using ipywidgets, this allows for all aspects of choosing and viewing parameters in one line of sight

The Augmentation tab utilizes fastai parameters so you can view what different image augmentations look like and compare

View batch information

Review model data and choose suitable metrics for training

Review parameters get learning rate and train using the one cycle policy

Can experiment with various learning rates and train

<img width=393" height="273" hspace="20" src="static/LR_three.PNG"/>

Requirements

I am using the developer version:

git clone https://github.com/fastai/fastai

cd fastai

tools/run-after-git-clone

pip install -e ".[dev]"

for installation instructions visit Fastai Installation Readme

pip install ipywidgets jupyter nbextension enable --py widgetsnbextension

or

conda install -c conda-forge ipywidgets

for installation instructions visit Installation docs

psutil (process and system utilities) is a cross-platform library for retrieving information on running processes and system utilization (CPU, memory, disks, network, sensors) in Python

pip install psutil

Installation

git clone this repository

git clone https://github.com/asvcode/Vision_UI.git

run Visual_UI.ipynb and run display_ui()

Known Issues

Future Work