Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your last layers in training are wrong #8

Open
kmonachopoulos opened this issue Mar 8, 2018 · 0 comments
Open

Your last layers in training are wrong #8

kmonachopoulos opened this issue Mar 8, 2018 · 0 comments

Comments

@kmonachopoulos
Copy link

kmonachopoulos commented Mar 8, 2018

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
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant