Git Product home page Git Product logo

alexnet's Introduction

AlexNet

This project intends to replicate the AlexNet CNN network by strictly following the original paper.


1. Dataset

Currently, the project is configured to be trained on imagenette/full-size-v2, a dataset delivered by Tensorflow. From the documentation:

Imagenette is a subset of 10 easily classified classes from the Imagenet dataset. It was originally prepared by Jeremy Howard of FastAI. The objective behind putting together a small version of the Imagenet dataset was mainly because running new ideas/algorithms/experiments on the whole Imagenet take a lot of time.

Link: https://github.com/fastai/imagenette

TODO: Find ImageNet 2010
Please drop me an email if you know where to find this specific dataset

2. Prerequisites

  • Python 3.7.9
  • Tensorflow 2.3.1
pip install tensorflow-gpu==2.3.1

3. Setup

  1. Clone the repo:
git clone https://github.com/houseofai/alexnet.git
  1. Install the 3rd party packages
cd alexnet/
pip install -r requirements.txt

4. Training

To train the model, launch the following command:

python train.py

To test the configuration on a smaller dataset:

python train.py --conf=test

5. Predict

To predict class probabilities on an image:

python train.py --mode=predict --image=/path/to/image

6. Bibliographies: ImageNet Classification with Deep Convolutional Neural Networks

https://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.