deepid-implementation icon indicating copy to clipboard operation
deepid-implementation copied to clipboard

[INFO] Calculating top-5 error rate in Caffe

Open joyhuang9473 opened this issue 9 years ago • 0 comments

In train_val.prototxt:

layer {
  name: "accuracy_top_5"
  type: "Accuracy"
  bottom: "fc8"
  bottom: "label"
  top: "accuracy_top_5"
  accuracy_param {
    top_k: 5
  }
  include {
    phase: TEST
  }
} 

joyhuang9473 avatar Apr 20 '16 05:04 joyhuang9473