Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ color_map = {
|
|
| 30 |
'others' : (8, 133, 161) # cyan
|
| 31 |
}
|
| 32 |
class_labels = ['outside_roi', 'tumor', 'stroma', 'inflammatory', 'necrosis', 'others']
|
| 33 |
-
colors = ['white', 'red', 'blue', 'green', '
|
| 34 |
|
| 35 |
class SPADE(nn.Module):
|
| 36 |
def __init__(self, norm_nc, label_nc, norm):
|
|
|
|
| 30 |
'others' : (8, 133, 161) # cyan
|
| 31 |
}
|
| 32 |
class_labels = ['outside_roi', 'tumor', 'stroma', 'inflammatory', 'necrosis', 'others']
|
| 33 |
+
colors = ['white', 'red', 'blue', 'green', 'yellow', 'cyan']
|
| 34 |
|
| 35 |
class SPADE(nn.Module):
|
| 36 |
def __init__(self, norm_nc, label_nc, norm):
|