i'm trying use leaky_relu layer in caffe , can't figure out define it. layer definitions here, can see relu has optional parameter called negative_slope can used define leaky_relu can't figure out negative_slope parameter goes into.
the relu definition looks this:
layer { name: "relu1" type: "relu" bottom: "conv1" top: "conv1" }
i tried doing threw me error:
layer { name: "relu1" type: "relu" negative_slope: 0.1 bottom: "conv1" top: "conv1" }
any appreciated.
thanks!
as defined in documentation, negative_slope parameter. , parameters defined in following way. try this:
layer { name: "relu1" type: "relu" bottom: "conv1" top: "conv1" relu_param{ negative_slope: 0.1 } }
Comments
Post a Comment