Update glaucoma.py
Browse files- glaucoma.py +1 -1
glaucoma.py
CHANGED
@@ -85,7 +85,7 @@ class GlaucomaModel(object):
|
|
85 |
try:
|
86 |
vcdr = simple_vcdr(disc_cup)
|
87 |
except:
|
88 |
-
vcdr =
|
89 |
_, disc_cup_image = add_mask(image, disc_cup, [0, 1, 2], [[0, 0, 0], [0, 255, 0], [255, 0, 0]], 0.2)
|
90 |
|
91 |
return disease_idx, disc_cup_image, cam, vcdr
|
|
|
85 |
try:
|
86 |
vcdr = simple_vcdr(disc_cup)
|
87 |
except:
|
88 |
+
vcdr = np.nan
|
89 |
_, disc_cup_image = add_mask(image, disc_cup, [0, 1, 2], [[0, 0, 0], [0, 255, 0], [255, 0, 0]], 0.2)
|
90 |
|
91 |
return disease_idx, disc_cup_image, cam, vcdr
|