DiagonalAffineMap does not name a type #5694

Open
abraveboy opened this Issue Jun 14, 2017 · 1 comment

Comments

Projects
None yet
2 participants

When I crop normalize_layer to caffe of faster rcnn, it thows 'DiagonalAffineMap does not name a type'. What should I do to fix this error.

you should make sure that there is file named coords.hpp at route: include/caffe/util/, and then add the following lines to the file :include/caffe/layer.hpp

#include "caffe/util/coords.hpp"

virtual DiagonalAffineMap coord_map() {
NOT_IMPLEMENTED;
// suppress warnings
return DiagonalAffineMap(vector<pair<Dtype, Dtype> >());
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment