py-faster-rcnn icon indicating copy to clipboard operation
py-faster-rcnn copied to clipboard

F1210 08:16:15.441911 10686 layer_factory.hpp:80] Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: Python

Open wowo200 opened this issue 8 years ago • 11 comments

Hi!

After did the basic installation, when I ran the demo.py code, I got the check error.

F1210 08:16:15.441911 10686 layer_factory.hpp:80] 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, Embed, EuclideanLoss, Exp, Filter, Flatten, HDF5Data, HDF5Output, HingeLoss, Im2col, ImageData, InfogainLoss, InnerProduct, LRN, Log, MVN, MemoryData, MultinomialLogisticLoss, PReLU, Pooling, Power, ROIPooling, ReLU, Reduction, Reshape, SPP, Sigmoid, SigmoidCrossEntropyLoss, Silence, Slice, SmoothL1Loss, Softmax, SoftmaxWithLoss, Split, TanH, Threshold, Tile, WindowData)

how to fix this?

wowo200 avatar Dec 10 '15 00:12 wowo200

I got that check error too.

leejiajun avatar Dec 21 '15 03:12 leejiajun

Just ran into same error, then came across this: https://github.com/rbgirshick/fast-rcnn/issues/31

You have to uncomment WITH_PYTHON_LAYER := 1 in the Makefile.config, then make clean, then make to rebuild

szi avatar Dec 22 '15 21:12 szi

@szi thank you, it was solved.

leejiajun avatar Dec 27 '15 13:12 leejiajun

@szi as you said, it was solved.

yaochx avatar Dec 27 '16 09:12 yaochx

Hello, I tried "WITH_PYTHON_LAYER := 1" and make clean and make again.But the error still exists. I even tried git clone again, but this error remains.. I am using Mac Sierra. Can anyone help me with it?

" I0220 11:06:37.499789 3922367424 layer_factory.hpp:77] Creating layer proposal F0220 11:06:37.499804 3922367424 layer_factory.hpp:81] Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: Python (known types: AbsVal, Accuracy, ArgMax, BNLL, BatchNorm, BatchReindex, Bias, Concat, ContrastiveLoss, Convolution, Data, Deconvolution, Dropout, DummyData, ELU, Eltwise, Embed, EuclideanLoss, Exp, Filter, Flatten, HDF5Data, HDF5Output, HingeLoss, Im2col, ImageData, InfogainLoss, InnerProduct, LRN, Log, MVN, MemoryData, MultinomialLogisticLoss, PReLU, Pooling, Power, ROIPooling, ReLU, Reduction, Reshape, SPP, Scale, Sigmoid, SigmoidCrossEntropyLoss, Silence, Slice, SmoothL1Loss, Softmax, SoftmaxWithLoss, Split, TanH, Threshold, Tile, WindowData) *** Check failure stack trace: *** "

ran5515 avatar Feb 20 '17 19:02 ran5515

@ran5515 I also tried "WITH_PYTHON_LAYER := 1" and I still get the error. Did you solve it?

dksakkos avatar Apr 04 '17 18:04 dksakkos

I tried WITH_PYTHON_LAYER := 1, but still facing the same error although I successfully build the caffe and pycaffe.

derkbreeze avatar Jul 03 '18 03:07 derkbreeze

make clean,然后make to rebuid how do this ?

YIN0923 avatar May 06 '19 06:05 YIN0923

Just ran into same error, then came across this: rbgirshick/fast-rcnn#31

You have to uncomment WITH_PYTHON_LAYER := 1 in the Makefile.config, then make clean, then make to rebuild i uncomment WITH_PYTHON_LAYER := 1 in the Makefile.config and remove build and sudo make -j4 all but is also get the same error

cqray1990 avatar Jun 09 '20 02:06 cqray1990

Just ran into same error, then came across this: rbgirshick/fast-rcnn#31

You have to uncomment WITH_PYTHON_LAYER := 1 in the Makefile.config, then make clean, then make to rebuild when test an image it have no errors,but when i train ,it get this errors: F0220 11:06:37.499804 3922367424 layer_factory.hpp:81] Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: Python (known types: AbsVal, Accuracy, ArgMax, BNLL, BatchNorm, BatchReindex, Bias, Concat, ContrastiveLoss, Convolution, Data, Deconvolution, Dropout, DummyData, ELU, Eltwise, Embed, EuclideanLoss, Exp, Filter, Flatten, HDF5Data, HDF5Output, HingeLoss, Im2col, ImageData, InfogainLoss, InnerProduct, LRN, Log, MVN, MemoryData, MultinomialLogisticLoss, PReLU, Pooling, Power, ROIPooling, ReLU, Reduction, Reshape, SPP, Scale, Sigmoid, SigmoidCrossEntropyLoss, Silence, Slice, SmoothL1Loss, Softmax, SoftmaxWithLoss, Split, TanH, Threshold, Tile, WindowData)

cqray1990 avatar Jun 09 '20 02:06 cqray1990

@derkbreeze did you solver it? F0609 12:08:19.237373 13764 layer_factory.hpp:81] Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: ImageLabelmapData (known types: AbsVal, Accuracy, ArgMax, BNLL, BatchNorm, BatchReindex, Bias, Clip, 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, Swish, TanH, Threshold, Tile, WindowData)

cqray1990 avatar Jun 09 '20 06:06 cqray1990