Giter Club home page Giter Club logo

py-caffe-cvprw15's Introduction

py-caffe-cvprw15

Brief Intro

This is a Python reimplementation of this repo. It includes:

  • Replacing MATLAB code with PyCaffe during evaluation phase

  • Gives exactly the same mAP value for the default caffemodel (KevinNet_CIFAR10_48.caffemodel) on default dataset (cifar-10), i.e. 0.897373

Dependencies

  • Caffe with its Python wrapper
  • OpenCV's Python wrapper
  • Common Python packages(numpy, matplotlib, etc)

Evaluation

  1. Prepare dataset and pretrained model as claimed in caffe-cvprw15. You can also download the caffemodel file via BaiduYun with password(3doq)

  2. run this bash command:

python py/run_cifar10.py

which will compute mAP and precision at different level, also gives the following output:

Misc

  • py/ilsvrc2012_mat_mean.pkl is converted from matlab/caffe/ilsvrc_2012_mean.mat of caffe-cvprw15.

  • In MatCaffe, blobs are with order (W,H,C,N), and in PyCaffe, it use (N,C,H,W)

py-caffe-cvprw15's People

Contributors

zchrissirhcz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

javafaker

py-caffe-cvprw15's Issues

No such file named saved_result.pkl

When I run the run_cifar10.py,the fault notice that"no such file named saved_result.pkl".Can you tell me why and improve the solve method?I search in the source code and don't find it.

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.