Coder Social home page Coder Social logo

futurelab-ai-contest's Introduction

2018 Futurelab AI Contest

In brief

The model is based on MobileNetV2 and NasNet. It is the ensemble of these two models with concatenation of these two feature maps.
Parameters:

lr:0.001(every epoch decay 0.98)
weight-decay:0.001
momentum:0.99
batch_size:64
epoch:100

The MobileNetV2 network structure is given by this, and the pretrained model can be downloaded by this. We remove the parameters of the final fully connected layer and remove the prefix module in the state_dict.

The pretrained NasNet model, which can be downloaded by this, is processed in the same way as MobileNetV2.

Software requirement

  • Ubuntu 16.04
  • CUDA 8
  • Cudnn v6+
  • python 3.5
    • pytorch 0.4.0
    • torchvision 0.2.0
    • numpy 1.13.3
    • Pillow 5.1.0
    • tensorboard_logger 0.1.0(optional)

Deploy

  • Train

    Dataset processing: split the sample dataset into training set and validation set with the default ratio 10:1:

    python3 datautil.py <sample csv file>

    training:

    python3 baseline.py [--val <val csv file>] <train csv file>

    Important: the path of the data folder and the path of the csv file should be in the same folder

  • Test

    python3 test.py  --test_model <model to be tested> --data <data folder>

futurelab-ai-contest's People

Contributors

yaojunr avatar

Watchers

James Cloos 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.