josetorronteras / Monkey-Species-Classification

Monkey Species Image dataset for fine-grain classification using a convolutional neural network

Home Page:https://www.kaggle.com/datasets/slothkong/10-monkey-species

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monkey Species Classification

Python testing

Table of contents

Quick start

It is necessary to have installed: Python 3.5.2 and download Monkey Species Dataset in Input Folder.

The present code has been developed under python3 using Anaconda Notebook. The simplest way to run the program is opening the notebook.

Monkey Species Classification Notebook Training

Description

The project consists of a convolutional neural network that classifies 10 different monkey species. The dataset used is the Monkey Species Dataset from Kaggle. The model has been trained using the Keras library and the Tensorflow backend. The model has been trained using the Adam optimizer and the categorical crossentropy loss function. The model has been trained for 100 epochs with a batch size of 32.

Project Structure

├── config
│   ├── config.ini
├── input
│   ├── monkey_labels.txt
│   ├── images
├── notebooks
│   ├── Train Model.ipynb
|   ├── Test Model.ipynb
├── source
│   ├── aux_functions.py
│   ├── cnn_model.py
│   ├── get_train_test_data.py
├── logs

Usage

Download the dataset from Kaggle Link and put it in the Input folder. Check the configuration file in the config folder.

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
open jupyter notebook

Results

Accuracy Loss

About

Monkey Species Image dataset for fine-grain classification using a convolutional neural network

https://www.kaggle.com/datasets/slothkong/10-monkey-species


Languages

Language:Jupyter Notebook 94.2%Language:Python 5.8%