kmaninis / OSVOS-caffe

One-Shot Video Object Segmentation
http://vision.ee.ethz.ch/~cvlsegmentation/osvos/
GNU General Public License v3.0
171 stars 67 forks source link

Unknown layer type: SigmoidCrossEntropyBalanceLoss #3

Closed zhujingsong closed 6 years ago

zhujingsong commented 6 years ago

When I set osvos_params.useTrainOnline = 0 (use the pre-trained models), it works fine. But, when i set osvos_params.useTrainOnline = 1, there is an error like this

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

kmaninis commented 6 years ago

Hello, please use the provided Caffe version, where we have made a custom layer called SigmoidCrossEntropyBalanceLoss. The error suggests that in your version of Caffe this layer is not implemented. Please keep us updated for further issues.