Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def predict(img):
|
|
59 |
|
60 |
outputs = torch.argmax(outputs,1)
|
61 |
|
62 |
-
mask = np.array(outputs
|
63 |
mask[mask==1]=150
|
64 |
mask[mask==3]=76 #pole # y no 74
|
65 |
# mask[mask==5]=74 #pole
|
|
|
59 |
|
60 |
outputs = torch.argmax(outputs,1)
|
61 |
|
62 |
+
mask = np.array(outputs)
|
63 |
mask[mask==1]=150
|
64 |
mask[mask==3]=76 #pole # y no 74
|
65 |
# mask[mask==5]=74 #pole
|