TensorBird/README.md

62 lines
1.7 KiB
Markdown
Raw Normal View History

2021-03-03 20:30:09 +01:00
# TensorBird
2021-03-03 20:41:40 +01:00
A project aiming to perform auto identification of bird species from pictures taken by [PiCameraTrap](https://forge.ortion.xyz/UncleSamulus/PiCameraTrap)
2021-03-03 21:16:49 +01:00
using machine learning.
2021-03-03 20:41:40 +01:00
## Inspiration
I have been inprired by following ressource :
* [darenjhsu birdid repository](https://github.com/darrenjhsu/birdid)
2021-03-04 07:26:07 +01:00
* [This A.I. Birdwatcher Lets You See Through the Eyes of a Machine](https://today.duke.edu/2019/10/ai-birdwatcher-lets-you-see-through-eyes-machine)
* [Is Machine Learning for the Birds?](https://www.openhealthnews.com/story/2019-01-24/machine-learning-birds)
* [Image Classification of bird species using deep learning with PyTorch, Captum and ONNX](https://towardsdatascience.com/adventures-in-pytorch-image-classification-with-caltech-birds-200-part-1-the-dataset-6e5433e9897c)
2021-03-04 09:17:26 +01:00
* [Github Repository of previous article](https://github.com/ecm200/caltech_birds)
2021-03-03 21:16:49 +01:00
## Environmnent Set Up
### Create and Activate virtual env
```bash
python -m venv tb-venv
source tb-venv/bin/activate
```
### Install Tensorflow in container
```bash
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
```bash
python -m pip install tensorflow
```
### Launch Jupyter Notebook
#### Make the virtual env accessible from Jupyter Notebook
```bash
pip install ipykernel
python -m ipykernel install --user --name=tb-venv
```
#### Launch Jupyter
```bash
jupyter notebook
```
2021-03-06 20:02:09 +01:00
## Run TF Lite
### Trouble shooting
For tensorflow Lite to work on virtual env, we have to install the following package.
```bash
sudo apt install libatlas-base-dev
```