Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def print_bn():
|
|
17 |
# print(m.momentum)
|
18 |
bn_data.extend(m.running_mean.data.numpy().tolist())
|
19 |
bn_data.extend(m.running_var.data.numpy().tolist())
|
20 |
-
bn_data.append(
|
21 |
return bn_data
|
22 |
|
23 |
def greet(image):
|
@@ -37,7 +37,7 @@ def greet(image):
|
|
37 |
out = model(image)
|
38 |
|
39 |
# model.train()
|
40 |
-
return
|
41 |
|
42 |
|
43 |
|
|
|
17 |
# print(m.momentum)
|
18 |
bn_data.extend(m.running_mean.data.numpy().tolist())
|
19 |
bn_data.extend(m.running_var.data.numpy().tolist())
|
20 |
+
bn_data.append(m.momentum.data)
|
21 |
return bn_data
|
22 |
|
23 |
def greet(image):
|
|
|
37 |
out = model(image)
|
38 |
|
39 |
# model.train()
|
40 |
+
return "Hello world!"
|
41 |
|
42 |
|
43 |
|