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

Unknown layer type: L2Normalize #3

Open
derkbreeze opened this issue Mar 22, 2018 · 4 comments
Open

Unknown layer type: L2Normalize #3

derkbreeze opened this issue Mar 22, 2018 · 4 comments

Comments

@derkbreeze
Copy link

Hi Seth:
Thank you for your great work.
When I train the detection model. I got the following error:

I0322 11:15:13.847193 15945 net.cpp:129] Top shape: 50 1000 (50000)
I0322 11:15:13.847195 15945 net.cpp:137] Memory required for data: 5770873800
I0322 11:15:13.847198 15945 layer_factory.hpp:77] Creating layer img_l2norm
F0322 11:15:13.847214 15945 layer_factory.hpp:81] Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: L2Normalize (known types: AbsVal, Accuracy, ArgMax, BNLL, BatchNorm, BatchReindex, Bias, Concat, ContrastiveLoss, Convolution, Crop, Data, Deconvolution, Dropout, DummyData, ELU, Eltwise, Embed, EuclideanLoss, Exp, Filter, Flatten, HDF5Data, HDF5Output, HingeLoss, Im2col, ImageData, InfogainLoss, InnerProduct, Input, LRN, LSTM, LSTMUnit, Log, MVN, MemoryData, MultinomialLogisticLoss, PReLU, Parameter, Pooling, Power, Python, RNN, ReLU, Reduction, Reshape, SPP, Scale, Sigmoid, SigmoidCrossEntropyLoss, Silence, Slice, Softmax, SoftmaxWithLoss, Split, TanH, Threshold, Tile, WindowData)
*** Check failure stack trace: ***
Aborted (core dumped)

I am using official version of caffe and successfully compiled the caffe with pycaffe and anaconda. and followed your steps.But I still got the error. Is there anything I am missing?
My system is Ubuntu16.04 LTS with Nvidia Cuda8.0 Titan Xp
I appreciate if you can help me.

@derkbreeze
Copy link
Author

@WangLanxiao
Copy link

thanks a lot

@WangLanxiao
Copy link

https://github.com/akirafukui/caffe/tree/feature/20160617_cb_softattention
This solved my problem

what did you do in order to solve this problem

@derkbreeze
Copy link
Author

https://github.com/akirafukui/caffe/tree/feature/20160617_cb_softattention
This solved my problem

what did you do in order to solve this problem

Just git clone that repository and compile that caffe. L2 Normalization layer should be included in that caffe version

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

2 participants