python - caffe Layer type Silence already registered -
i'm new caffe , have problem running "python layer" example at
- ./example/pycaffe/linreg.prototxt
- ./example/pycaffe/layers/pyloss.py
i prepared temporary "solver.prototxt" follows:
train_net: "examples/pycaffe/linreg.prototxt" base_lr: 0.001 lr_policy: "step" gamma: 0.1 stepsize: 50000 display: 20 momentum: 0.9 weight_decay: 0.0005 snapshot: 0 snapshot_prefix: "linreg" iter_size: 2
and executed
- ./build/tools/caffe train --solver ./examples/pycaffe/solver.prototxt
but got error message follows:
i0611 12:00:12.242858 44085 net.cpp:165] memory required data: 1280 i0611 12:00:12.242869 44085 layer_factory.hpp:77] creating layer loss f0611 12:00:12.415180 44085 layer_factory.hpp:68] check failed: registry.count(type) == 0 (1 vs. 0) layer type silence registered.** *** check failure stack trace: *** @ 0x7f446d873daa (unknown) @ 0x7f446d873ce4 (unknown) @ 0x7f446d8736e6 (unknown) @ 0x7f446d876687 (unknown) @ 0x7f43cb656ddb (unknown) @ 0x7f43cb623d59 (unknown) @ 0x7f446e74713a (unknown) @ 0x7f446e747223 (unknown) @ 0x7f446e74bc70 (unknown) @ 0x7f446e746ff4 (unknown) @ 0x7f446e74b3bb (unknown) @ 0x7f4460ee502b (unknown) @ 0x7f446e746ff4 (unknown) @ 0x7f4460ee562d (unknown) @ 0x7f4460ee50c1 (unknown) @ 0x7f446cae82ae (unknown) @ 0x7f446cab0dae (unknown) @ 0x7f446cb2f729 (unknown) @ 0x7f446cb28ae3 (unknown) @ 0x7f446c9eea3f (unknown) @ 0x7f446cab9d43 (unknown) @ 0x7f446cb32577 (unknown) @ 0x7f446cb14c13 (unknown) @ 0x7f446cb1854d (unknown) @ 0x7f446cb18682 (unknown) @ 0x7f446cb18a2c (unknown) @ 0x7f446cb2f016 (unknown) @ 0x7f446cb2f729 (unknown) @ 0x7f446cb28ae3 (unknown) @ 0x7f446c9eea3f (unknown) @ 0x7f446cab9d43 (unknown) @ 0x7f446cb32577 (unknown)
i'm sorry if questions obvious, wasn't able find guide understand , asking here.
p.s.
- caffe compiled option "with_python_layer=1"
- $pythonpath set
- using ubuntu 14.04lts
Comments
Post a Comment