Spaces:
Runtime error
Runtime error
Update kornia_aug.py
Browse files- kornia_aug.py +1 -1
kornia_aug.py
CHANGED
|
@@ -34,7 +34,7 @@ else:
|
|
| 34 |
im = Image.open("./images/pretty_bird.jpg")
|
| 35 |
image = F.pil_to_tensor(im).float() / 255
|
| 36 |
ims.append(image)
|
| 37 |
-
scaler = int(ims[0].
|
| 38 |
st.sidebar.image(im, caption="Input Image", width=256)
|
| 39 |
|
| 40 |
|
|
|
|
| 34 |
im = Image.open("./images/pretty_bird.jpg")
|
| 35 |
image = F.pil_to_tensor(im).float() / 255
|
| 36 |
ims.append(image)
|
| 37 |
+
scaler = int(ims[0].shape[0] / 2)
|
| 38 |
st.sidebar.image(im, caption="Input Image", width=256)
|
| 39 |
|
| 40 |
|