Skip to content

Commit

Permalink
Rename default GoogLeNet layers and tops
Browse files Browse the repository at this point in the history
Per suggestions in this thread:
https://groups.google.com/d/msg/digits-users/sO2D5sERGgw/6qh25awVxWUJ

Makes the output easier to interpret
Doesn't change functionality
  • Loading branch information
lukeyeager committed Jul 24, 2015
1 parent e487855 commit 9ff246e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions digits/standard-networks/googlenet.prototxt
Original file line number Diff line number Diff line change
Expand Up @@ -942,15 +942,15 @@ layer {
type: "SoftmaxWithLoss"
bottom: "loss1/classifier"
bottom: "label"
top: "loss1/loss1"
top: "loss1/loss"
loss_weight: 0.3
}
layer {
name: "loss1/top-1"
type: "Accuracy"
bottom: "loss1/classifier"
bottom: "label"
top: "loss1/top-1"
top: "loss1/accuracy"
include {
phase: TEST
}
Expand All @@ -960,7 +960,7 @@ layer {
type: "Accuracy"
bottom: "loss1/classifier"
bottom: "label"
top: "loss1/top-5"
top: "loss1/accuracy-top5"
include {
phase: TEST
}
Expand Down Expand Up @@ -1725,15 +1725,15 @@ layer {
type: "SoftmaxWithLoss"
bottom: "loss2/classifier"
bottom: "label"
top: "loss2/loss1"
top: "loss2/loss"
loss_weight: 0.3
}
layer {
name: "loss2/top-1"
type: "Accuracy"
bottom: "loss2/classifier"
bottom: "label"
top: "loss2/top-1"
top: "loss2/accuracy"
include {
phase: TEST
}
Expand All @@ -1743,7 +1743,7 @@ layer {
type: "Accuracy"
bottom: "loss2/classifier"
bottom: "label"
top: "loss2/top-5"
top: "loss2/accuracy-top5"
include {
phase: TEST
}
Expand Down Expand Up @@ -2451,19 +2451,19 @@ layer {
}
}
layer {
name: "loss3/loss3"
name: "loss3/loss"
type: "SoftmaxWithLoss"
bottom: "loss3/classifier"
bottom: "label"
top: "loss3/loss3"
top: "loss"
loss_weight: 1
}
layer {
name: "loss3/top-1"
type: "Accuracy"
bottom: "loss3/classifier"
bottom: "label"
top: "loss3/top-1"
top: "accuracy"
include {
phase: TEST
}
Expand All @@ -2473,7 +2473,7 @@ layer {
type: "Accuracy"
bottom: "loss3/classifier"
bottom: "label"
top: "loss3/top-5"
top: "accuracy-top5"
include {
phase: TEST
}
Expand Down

0 comments on commit 9ff246e

Please sign in to comment.