Skip to content

Commit

Permalink
add class_map
Browse files Browse the repository at this point in the history
  • Loading branch information
choasup committed Mar 2, 2017
1 parent 279841d commit 41f15e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/caffe/layers/region_loss_layer.hpp
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "caffe/proto/caffe.pb.h"
#include <string>
#include "caffe/layers/loss_layer.hpp"
#include <map>

namespace caffe {
template <typename Dtype>
Expand Down Expand Up @@ -87,6 +88,9 @@ class RegionLossLayer : public LossLayer<Dtype> {
Blob<Dtype> diff_;
Blob<Dtype> real_diff_;
tree t_;

string class_map_;
map<int, int> cls_map_;
};

} // namespace caffe
Expand Down

0 comments on commit 41f15e0

Please sign in to comment.