An open API service indexing awesome lists of open source software.

https://github.com/pjarbas/image-classification

Image classification with tensorflow/keras
https://github.com/pjarbas/image-classification

computer-vision deep-learning keras opencv tensorboard tensorflow

Last synced: 2 months ago
JSON representation

Image classification with tensorflow/keras

Awesome Lists containing this project

README

          

# Image-classification

This project aims to use image classification using transfer learning with pre-trained models: VGG19, ResNet50, InceptionV3.

### Get started

Ensure that your **python** version is >= 3.9

Train the model using the following command:

```bash
$ cd src
$ python train.py
```

### Results

* The pre-trained models seem to overfitting, and the baseline model for the cifar10 dataset can be enough.
* We can do data augmentation to improve the results.

Accuracy | Loss
:------------------------------------:|:---------------------------------:
![](results/baseline-accuracy.png) | ![](results/baseline-loss.png)
:------------------------------------:|----------------------------------:
![](results/resnet50-accuracy.png) | ![](results/resnet50-loss.png)
:------------------------------------:|----------------------------------:
![](results/mobilenet_v2-accuracy.png)| ![](results/mobilenet_v2-loss.png)

### Classify the images

run the main script using the following command:

```bash
$ cd src
$ python main.py
```

### Tensorboard
```bash
$ tensorboard --logdir logs
```