calmiLovesAI / TensorFlow2.0_Image_Classification

A TensorFlow_2.0 implementation of AlexNet and VGGNet.
MIT License
39 stars 18 forks source link

TensorFlow2.0_Image_Classification(include AlexNet and VGGNet)

This project uses TensorFlow2.0 for image classification tasks.

How to use

Requirements

Train

Run the script

python train.py

to train the network on your image dataset, the final model will be stored. You can also change the corresponding training parameters in the config.py.

Evaluate

To evaluate the model's performance on the test dataset, you can run evaluate.py.

The structure of the network is defined in model_definition.py, you can change the network structure to whatever you like.

References

  1. AlexNet : http://www.cs.toronto.edu/~fritz/absps/imagenet.pdf
  2. VGG : https://arxiv.org/abs/1409.1556