Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -86,6 +86,8 @@ def predict(net, inputs_val, shapes_val, hypar, device):
|
|
86 |
|
87 |
ds_val = net(inputs_val_v)[0] # list of 6 results
|
88 |
|
|
|
|
|
89 |
pred_val = ds_val[1][0,:,:,:] # B x 1 x H x W # we want the first one which is the most accurate prediction
|
90 |
|
91 |
## recover the prediction spatial size to the orignal image size
|
|
|
86 |
|
87 |
ds_val = net(inputs_val_v)[0] # list of 6 results
|
88 |
|
89 |
+
print(ds_val)
|
90 |
+
print(ds_val[0])
|
91 |
pred_val = ds_val[1][0,:,:,:] # B x 1 x H x W # we want the first one which is the most accurate prediction
|
92 |
|
93 |
## recover the prediction spatial size to the orignal image size
|