Skip to content

Tools for training an Image Classification Neural Network, using TensorFlow and TFLite.

License

Notifications You must be signed in to change notification settings

kaiquesacchi/Image-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Classification

Tools for preparing an image dataset and training an Image Classification Neural Network, using TensorFlow and TensorFlow Lite.

The provided notebooks

Two Python notebooks are provided on this repository:

  • format_images.ipynb
  • train.ipynb

As the names suggest, the first one should be used to format all the dataset images that will be used for the training session, while the second one is responsible for the training itself. The step-by-step guide for using each one can be found on the notebook.

Running the notebooks locally

Both of the notebooks provided by this project may be run locally, using the terminal CLI or VSCode notebook support. The specific steps required for each one may be found in the beginning of them.

If desired, the GPU can be used during the training, in order to speed up the process. For that, some NVIDIA packages are needed.

Running using the Docker image

Instead of installing all TensorFlow and NVIDIA related packages, a Docker container may be used. This repository provides a Dockerfile that extends the Tensorflow GPU Jupyter Docker container

In order to use it, first is necessary to install:

After installing all of the required tool-kits, build the docker image.

docker build -t image-classification .

To run the docker image, just use the ./run.sh script provided.

chmod +x ./run.sh
./run.sh

A Jupyter server will be opened, and you may connect to it by coping the presented address and pasting it to the server URI address on VSCode.

About

Tools for training an Image Classification Neural Network, using TensorFlow and TFLite.

Topics

Resources

License

Stars

Watchers

Forks

Languages