Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,8 @@ def do_prediction(img):
|
|
16 |
img_width_model=model.layers[len(model.layers)-1].output_shape[2]
|
17 |
n_classes=model.layers[len(model.layers)-1].output_shape[3]
|
18 |
|
|
|
|
|
19 |
kernel = np.ones((5,5),np.uint8)
|
20 |
margin = int(0.1 * img_width_model)
|
21 |
|
|
|
16 |
img_width_model=model.layers[len(model.layers)-1].output_shape[2]
|
17 |
n_classes=model.layers[len(model.layers)-1].output_shape[3]
|
18 |
|
19 |
+
prnt(img_height_model, img_width_model, n_classes,'didi')
|
20 |
+
|
21 |
kernel = np.ones((5,5),np.uint8)
|
22 |
margin = int(0.1 * img_width_model)
|
23 |
|