Skip to content

Commit

Permalink
bug fix with conv input params
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragav Venkatesan (Student) authored and Ragav Venkatesan (Student) committed Mar 13, 2017
1 parent ea10159 commit 8327d05
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion yann/layers/conv_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ def __init__ ( self,
if batch_norm is True:
if input_params [2] is None:
create_bn = True
else:
create_w = True
create_b = True
create_bn = True

mini_batch_size = input_shape[0]
channels = input_shape[1]
Expand Down Expand Up @@ -404,7 +408,11 @@ def __init__ ( self,
if batch_norm is True:
if input_params [2] is None:
create_bn = True

else:
create_w = True
create_b = True
create_bn = True

mini_batch_size = input_shape[0]
channels = input_shape[1]
width = input_shape[3]
Expand Down

0 comments on commit 8327d05

Please sign in to comment.