Git Product home page Git Product logo

dog_classification's Introduction

dog_classification

宠物狗种类识别

百度-西交大——大数据竞赛2017:http://js.baidu.com/

Files tree

├── data
│   ├── train
│   ├── val
│   ├── test-01
│   ├── test-02
│   ├── data_train.txt
│   ├── label_name.txt
│   ├── list_train.txt
│   ├── list_test1.txt
│   └── list_test2.txt
├── model
├── prototxt
├── README.md
├── test.sh
└── train.sh

Usage

Data preparation

Train

Run train script: ./train.sh $MODEL_NAME $GPU_ID:

./train.sh inception_v3 0

Test

Run test script: ./test.sh $MODEL_NAME $ITER $GPU_ID:

./test.sh inception_v3 2500 0

Submission

Modify protoxt/$MODEL_NAME/test.prototxt and run test script: python test.py $TEST_LIST_PATH $MODEL_NAME $ITER $GPU_ID:

python test.py data/list_test-01.txt prototxt/inception_v3/test.prototxt 'model/inception_v3/train_iter_15000.caffemodel 0

(Optional) Run predict script: python predict.py $TEST_IMAGE_DIR $MODEL_NAME $ITER $GPU_ID:

python predict.py data/test-01/ inception_v3 15000 0

dog_classification's People

Contributors

lijiancheng0614 avatar

Watchers

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