Spaces:
Running
Running
Commit
·
33101ba
1
Parent(s):
662b59d
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
11 |
def resize_images(f_names):
|
12 |
for i, f_name in enumerate(f_names):
|
13 |
img = cv2.imread(f_name, cv2.IMREAD_COLOR)
|
14 |
-
resized_image = cv2.resize(img,(
|
15 |
cv2.imwrite(f_name,resized_image)
|
16 |
|
17 |
def predict(images, eps):
|
|
|
11 |
def resize_images(f_names):
|
12 |
for i, f_name in enumerate(f_names):
|
13 |
img = cv2.imread(f_name, cv2.IMREAD_COLOR)
|
14 |
+
resized_image = cv2.resize(img,(50, 50))
|
15 |
cv2.imwrite(f_name,resized_image)
|
16 |
|
17 |
def predict(images, eps):
|