Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ask for help #4

Closed
22wei22 opened this issue Nov 10, 2017 · 0 comments
Closed

ask for help #4

22wei22 opened this issue Nov 10, 2017 · 0 comments

Comments

@22wei22
Copy link

22wei22 commented Nov 10, 2017

make: *** [.build_release/src/caffe/layers/online_triplet_loss_layer.o] Error 1

src/caffe/layers/online_triplet_loss_layer.cpp: In member function \u2018virtual void caffe::OnlineTripletLossLayer::Forward_cpu(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&)\u2019:
src/caffe/layers/online_triplet_loss_layer.cpp:100:27: error: \u2018>>\u2019 should be \u2018> >\u2019 within a nested template argument list
vector<pair<Dtype, Dtype>> min_max_distances;
^
src/caffe/layers/online_triplet_loss_layer.cpp: In instantiation of \u2018void caffe::OnlineTripletLossLayer::Forward_cpu(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&) [with Dtype = float]\u2019:
src/caffe/layers/online_triplet_loss_layer.cpp:287:1: required from here
src/caffe/layers/online_triplet_loss_layer.cpp:70:13: warning: unused variable \u2018dim\u2019 [-Wunused-variable]
const int dim = bottom[0]->count() / num;
^
src/caffe/layers/online_triplet_loss_layer.cpp: In instantiation of \u2018void caffe::OnlineTripletLossLayer::Forward_cpu(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&) [with Dtype = double]\u2019:
src/caffe/layers/online_triplet_loss_layer.cpp:287:1: required from here
src/caffe/layers/online_triplet_loss_layer.cpp:70:13: warning: unused variable \u2018dim\u2019 [-Wunused-variable]
Makefile:581: recipe for target '.build_release/src/caffe/layers/online_triplet_loss_layer.o' failed
make: *** [.build_release/src/caffe/layers/online_triplet_loss_layer.o] Error 1

@22wei22 22wei22 closed this as completed Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant