Skip to content

Commit

Permalink
updating files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali committed Sep 5, 2015
1 parent c4df936 commit 9ae5935
Show file tree
Hide file tree
Showing 4 changed files with 12,084 additions and 4,998 deletions.
Binary file modified ._.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions src/caffe/layers/softmax_loss_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ void SoftmaxWithLossLayer<Dtype>::Forward_cpu(
for (int i = 0; i < num; ++i) {
for (int j = 0; j < spatial_dim; j++) {
const int gt_label = static_cast<int>(label[i * spatial_dim + j]);
//printf("gt_label: %d \n", gt_label);

if (ignore_label_.count(gt_label) != 0) {
// ignore the pixel with this gt_label
Expand Down
Loading

0 comments on commit 9ae5935

Please sign in to comment.