Coder Social home page Coder Social logo

convolutional-neural-network's Introduction

Introduction

Image classification is the process of taking an input and returning a class or a probability that the input is a particular class.

Goals

You should establish a neural network involving advanced DNN modules such as convolution layers, RELU, pooling, and fully connected layers etc. in order to determine the specific category of an input image.

Dataset

The CIFAR-10 dataset consists of 60000 32x32 color images in 10 classes, with 6000 images per class. There are 50000 training images and 10000 test images. The dataset is divided into five training batches and one test batch, each with 10000 images. The test batch contains exactly 1000 randomly-selected images from each class. The training batches contain the remaining images in random order, but some training batches may contain more images from one class than another. Between them, the training batches contain exactly 5000 images from each class.

Requirements

  1. Program a data loader for CIFAR-10 dataset:

    a. You are supposed to split the dataset into train data and test data

    b. Dataset predefined by Pytorch can be applied in your implementation

    c. Both training data loader and testing data loader need to be established by torch.utils.data.DataLoader

  2. Build a CNN model for classification:

    a. The model should be established based on torch.nn.Module and torch.nn.functional

    b. The model (base model) should be built upon the same architecture of the GoogLeNet structure

    c. You can add more layers in the base model to push performance: OPTIONAL

  3. Write training frameworks to implement the classification pipeline:

    a. Apply the dataloader you wrote in the first step

    b. Apply the CNN model you wrote written in the second step

    c. Define a Cross-Entropy criterion function

    d. Define an Adam Optimizer function

  4. Write testing frameworks to evaluate your classification pipeline:

    a. Apply the dataloader you wrote in the first step

    b. Apply the CNN model you wrote in the second step

    c. Define the accuracy of your model’s prediction

convolutional-neural-network's People

Contributors

qxtaiba avatar

Watchers

 avatar  avatar

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.