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

#Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: Python #31

Open
wxde opened this issue Apr 19, 2017 · 9 comments

Comments

@wxde
Copy link

wxde commented Apr 19, 2017

when I python main.py , the error is below:
Creating layer loss
F0419 21:23:01.980463 3190 layer_factory.hpp:77] Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: Python (known types: AbsVal, Accuracy, ArgMax, BNLL, Concat, ContrastiveLoss, Convolution, Data, Deconvolution, Dropout, DummyData, Eltwise, EuclideanLoss, Exp, Filter, Flatten, HDF5Data, HDF5Output, HingeLoss, Im2col, ImageData, InfogainLoss, InnerProduct, LRN, Log, MVN, MemoryData, MultinomialLogisticLoss, PReLU, Pooling, Power, ReLU, Reduction, Reshape, SPP, Sigmoid, SigmoidCrossEntropyLoss, Silence, Slice, Softmax, SoftmaxWithLoss, Split, TanH, Threshold, WindowData)
*** Check failure stack trace: ***
Aborted (core dumped)

How can I do for it . and what version of your cudnn? thank you

@faustomilletari
Copy link
Owner

faustomilletari commented Apr 19, 2017 via email

@wxde
Copy link
Author

wxde commented Apr 19, 2017

hi fausto
I am using your 3D-caffe.and my version of cudnn is 5.1

@faustomilletari
Copy link
Owner

faustomilletari commented Apr 19, 2017 via email

@wxde
Copy link
Author

wxde commented Apr 19, 2017

I have check my pythonpath environment variable. it is corrected .

@faustomilletari
Copy link
Owner

faustomilletari commented Apr 19, 2017 via email

@l35633
Copy link

l35633 commented May 1, 2017

hi, friend! I met the same problem with the correct 3D caffe version and path? how to resolve it? any good ideas? Thank you very much!

@l35633
Copy link

l35633 commented May 1, 2017

It is said in google that changing this flag WITH_PYTHON_LAYER := 1 in Makefile.config
right? Thanks a lot! I am trying now
make clean
make all

@l35633
Copy link

l35633 commented May 1, 2017

It is really this problem, after changed it. It runs so beautifully!

@angyee
Copy link

angyee commented Mar 7, 2020

Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: Relu (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

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

4 participants