yun-liu / RCF

Richer Convolutional Features for Edge Detection
Other
753 stars 259 forks source link

Unknown layer type: ImageLabelmapData #36

Closed SeanSyue closed 6 years ago

SeanSyue commented 6 years ago

When I ran the code solve.py, I got the error showed below:

####################################
# More layer-loading info is not shown here
####################################
layer {
  name: "fuse_loss"
  type: "SigmoidCrossEntropyLoss"
  bottom: "upscore-fuse"
  bottom: "label"
  top: "fuse_loss"
  loss_weight: 1
}
I0325 00:01:35.106945 10264 layer_factory.hpp:77] Creating layer data
F0325 00:01:35.106971 10264 layer_factory.hpp:81] Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: ImageLabelmapData (known types: AbsVal, Accuracy, AnnotatedData, ArgMax, BNLL, BatchNorm, BatchReindex, Bias, Concat, ContrastiveLoss, Convolution, Crop, Data, Deconvolution, DetectionEvaluate, DetectionOutput, Dropout, DummyData, ELU, Eltwise, Embed, EuclideanLoss, Exp, Filter, Flatten, HDF5Data, HDF5Output, HingeLoss, Im2col, ImageData, InfogainLoss, InnerProduct, Input, LRN, Log, MVN, MemoryData, MultiBoxLoss, MultinomialLogisticLoss, Normalize, PReLU, Permute, Pooling, Power, PriorBox, ReLU, Reduction, Reshape, SPP, Scale, Sigmoid, SigmoidCrossEntropyLoss, Silence, Slice, SmoothL1Loss, Softmax, SoftmaxWithLoss, Split, TanH, Threshold, Tile, VideoData, WindowData)
*** Check failure stack trace: ***
/home/ee303/rrc_detection-master/python:~/rrc_detection-master/python/caffe/
Aborted (core dumped)

Caffe: I've adopted caffe built from rrc_detection(similar to the current official one), with USE_CUDNN enabled Operating system: ubuntu 16.04 Python version: 2.7.11 Cuda version: 9.1.85 cuDNN version: 7.1

So, what would be the problem?

SeanSyue commented 6 years ago

resolved #36 The issue had solved by myself. Simply build caffe from this repository.