Git Product home page Git Product logo

fast_is_better_than_free_cifar10's Introduction

Fast is Better Than Free: CIFAR10

Requirements:

Python 3.6

Install the required packages:

$ pip install -r requirements.txt

Follow the instructions below to install apex:

$ git clone https://github.com/NVIDIA/apex
$ cd apex
$ pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./

Clone the cifar10-fast repository:

$ git clone https://github.com/davidcpage/cifar10-fast.git

Trained model weights

Trained model weights can be found here: https://drive.google.com/open?id=1W2zGHyxTPgHhWln1kpHK5h-HY9kwfKfl

fast_is_better_than_free_cifar10's People

Contributors

anonymous-sushi-armadillo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

fast_is_better_than_free_cifar10's Issues

Cannot run train_cifar.py successfully

Hello, I got an error while running train_cifar.py
The error mainly appears on the following code:(Line 119)

train_set = list(zip(transpose(normalise(pad(dataset['train']['data'], 4))),
        dataset['train']['labels']))

This seems to be missing a few parameters, In cifar10-fast/core.py file

def normalise(x, mean, std):      # Line 68 
    return (x - mean) / std       # mean and std are missing when main function is called

@singledispatch
def transpose(x, source, target): # Line 89
    raise NotImplementedError     # source and target are missing when main function is called

How should it be modified? Why not read the images directly with torchvision? Looking forward to your reply.

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.