mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
- use the same epsilon (even though this function is currently unused);
This commit is contained in:
parent
c08d808c3d
commit
6cce3f1b47
@ -200,7 +200,7 @@ void denormalize_connected_layer(layer l)
|
||||
{
|
||||
int i, j;
|
||||
for(i = 0; i < l.outputs; ++i){
|
||||
float scale = l.scales[i]/sqrt(l.rolling_variance[i] + .000001);
|
||||
float scale = l.scales[i]/sqrt(l.rolling_variance[i] + .00001);
|
||||
for(j = 0; j < l.inputs; ++j){
|
||||
l.weights[i*l.inputs + j] *= scale;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user