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

https://github.com/lingfromsh/cat-and-dog-tutorials

Use alexnet to solving cat-and-dog classification
https://github.com/lingfromsh/cat-and-dog-tutorials

Last synced: 10 months ago
JSON representation

Use alexnet to solving cat-and-dog classification

Awesome Lists containing this project

README

          

# Cat and Dog

Use an alexnet to solve a bi-classification problem

## Training

You could run `train.py` to train the model.

After 100 epoches, this model could reach more than 90% to give a correct classification.

## Predicting

You could run `predict.py` and set the input image by flag `-f`. After a few seconds, the model will give you the answer.

## Testing

You could run `test.py` to check whether this model is overfitting training resources.

## About training and testing data

You could download cat&dog dataset from `kaggle` or elsewhere.

## Some advices

For having a more powerful ability, You could add some more preprocesses to generate nonstandard pics.