Spaces:
Runtime error
Runtime error
Nchaleys
commited on
Commit
·
8d1e8df
1
Parent(s):
c4ce56b
Add application file
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ for img in images_paths:
|
|
20 |
|
21 |
def get_true_msk(img_path):
|
22 |
msk_name = img_path[-36:-15]+'gtFine_labelIds.png'
|
23 |
-
return [msk_link for msk_link in glob.glob(os.path.join(ex_path, "mask
|
24 |
|
25 |
def dice_coeff(y_true, y_pred):
|
26 |
smooth = 1.
|
|
|
20 |
|
21 |
def get_true_msk(img_path):
|
22 |
msk_name = img_path[-36:-15]+'gtFine_labelIds.png'
|
23 |
+
return [msk_link for msk_link in glob.glob(os.path.join(ex_path, "mask/", msk_name))]
|
24 |
|
25 |
def dice_coeff(y_true, y_pred):
|
26 |
smooth = 1.
|