Euclidean loss is negative

28 views
Skip to first unread message

Alex Ter-Sarkisov

unread,
May 4, 2017, 1:10:22 PM5/4/17
to Caffe Users
I'm fine-tuning on FCN-8s iwth Euclidean loss layer: 

layer {
  name: "loss"
  type: "EuclideanLoss"
  bottom: "fc8cows"
  bottom: "label"
  top: "loss"
  include: { phase: TEST }
}

after a few iterations I start getting negative loss: 

I0504 18:05:50.068341  2780 solver.cpp:218] Iteration 35 (0.0214526 iter/s, 233.072s/5 iters), loss = -39.1625

which is clearly wrong. What could be the reason for that? I recompiled caffe, but the error keeps popping up
Reply all
Reply to author
Forward
0 new messages