Giter Site home page Giter Site logo

inception_v3_googlenet's Introduction

Inception_v3_GoogLeNet

Implementation of Inception v3 in Caffe

Training and testing prototxt for Google Inception_v3 New Model

Network architecture was presented in : Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jonathon Shlens, Zbigniew Wojna, "Rethinking the Inception Architecture for Computer Vision", http://arxiv.org/abs/1512.00567

Implemented using Batch Normalization and Parametric rectified linear Unit (PReLU)

inception_v3_googlenet's People

Contributors

n3011 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

inception_v3_googlenet's Issues

Why I get the error "misaligned address" when training ?

However, I never get error like this when I train other nets like googLeNet. Here are logs:

F0925 14:07:56.489186 14091 math_functions.cu:79] Check failed: error == cudaSuccess (74 vs. 0)  misaligned address
*** Check failure stack trace: ***
    @     0x7f93c3722daa  (unknown)
    @     0x7f93c3722ce4  (unknown)
    @     0x7f93c37226e6  (unknown)
    @     0x7f93c3725687  (unknown)
    @     0x7f93c3ec36c8  caffe::caffe_gpu_memcpy()
    @     0x7f93c3e7e58e  caffe::SyncedMemory::to_gpu()
    @     0x7f93c3e7da39  caffe::SyncedMemory::gpu_data()
    @     0x7f93c3d2e522  caffe::Blob<>::gpu_data()
    @     0x7f93c3effe3e  caffe::BiasLayer<>::Backward_gpu()
    @     0x7f93c3f00917  caffe::ScaleLayer<>::Backward_gpu()
    @     0x7f93c3eaa097  caffe::Net<>::BackwardFromTo()
    @     0x7f93c3eaa201  caffe::Net<>::Backward()
    @     0x7f93c3e9df92  caffe::Solver<>::Step()
    @     0x7f93c3e9e849  caffe::Solver<>::Solve()
    @           0x40843e  train()
    @           0x405c8c  main
    @     0x7f93c227ff45  (unknown)
    @           0x40645d  (unknown)
    @              (nil)  (unknown)

I have checked my address, but nothing wrong.

Your last layers in training are wrong

The last layers should hold different names (or types) :

layer {
  name: "loss1/top-1" <== the name is loss
  type: "Accuracy" <== the type is accuracy
  bottom: "loss1/classifier"
  bottom: "label"
  top: "loss1/top-1"
  include {
    phase: TEST
  }
}
layer {
  name: "loss1/top-3" <== the name is loss
  type: "Accuracy" <== the type is accuracy
  bottom: "loss1/classifier"
  bottom: "label"
  top: "loss1/top-3"
  include {
    phase: TEST
  }
  accuracy_param {
    top_k: 3
  }

It should be like this :

layer {
  name: "acc/top-1"
  type: "Accuracy"
  bottom: "fc1"
  bottom: "label"
  top: "acc/top-1"
  include {
    phase: TEST
  }
}
layer {
  name: "acc/top-5"
  type: "Accuracy"
  bottom: "fc1"
  bottom: "label"
  top: "acc/top-5"
  include {
    phase: TEST
  }
  accuracy_param {
    top_k: 5
  }
}

deploy.prototxt

May you send your deploy.prototxt to me ? I want to test my model,but I encounter a problem with the file.

Input size

The paper specified using a 299x299 input, why do you use a 224x224 input, is there a performance difference compared to using 299x299?

Inception v3 implementation problem at test time

I have tried to implement and use your version of inception v3, (thanks alot for doing this work) I have attached my prototxt for the implementation of inception v3.
inceptionv3_prototxt.txt
I am om nvidias caffe-0.15 branch.

Training goes fine and i can see the accuracy on the validation set aswell. My problem occurs when i try test the model on a single image.

When i do this i get the following error:

insert_splits.cpp:29] Unknown bottom blob 'bn1' (layer 'conv1/3x3_s1_scale', bottom index 0)

Any ideas how to fix this issue, so i can use the model to classify new images.

Thanks alot.
Best regards,
William

BatchNormLayer problem?

Is the BN not complete? Because the prototxt file doesn't contain ScaleLayer after BatchNormLayer,

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.