TensorBird/README.md

1.7 KiB
Raw Blame History

TensorBird

A project aiming to perform auto identification of bird species from pictures taken by PiCameraTrap using machine learning.

Inspiration

I have been inprired by following ressource :

Environmnent Set Up

Create and Activate virtual env

python -m venv tb-venv
source tb-venv/bin/activate

Install Tensorflow in container

docker pull tensorflow/tensorflow:latest  # Download latest stable image
docker run -it -p 8888:8888 tensorflow/tensorflow:latest-jupyter  # Start Jupyter server 

Install Tensorflow using pip

python -m pip install tensorflow

Launch Jupyter Notebook

Make the virtual env accessible from Jupyter Notebook

pip install ipykernel
python -m ipykernel install --user --name=tb-venv

Launch Jupyter

jupyter notebook

Run TF Lite

Trouble shooting

For tensorflow Lite to work on virtual env, we have to install the following package.

sudo apt install libatlas-base-dev