morinop commited on
Commit
079f211
1 Parent(s): 11dac02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,8 +24,8 @@ def print_bn():
24
 
25
  def update_bn(image):
26
  cursor_im = 0
27
- image = image.reshape(-1)
28
  image = T.Resize((40,40))(image)
 
29
  for m in model.modules():
30
  if(type(m) is nn.BatchNorm2d):
31
  if(cursor_im < image.shape[0]):
 
24
 
25
  def update_bn(image):
26
  cursor_im = 0
 
27
  image = T.Resize((40,40))(image)
28
+ image = image.reshape(-1)
29
  for m in model.modules():
30
  if(type(m) is nn.BatchNorm2d):
31
  if(cursor_im < image.shape[0]):