Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,12 +9,7 @@ from tensorflow.keras import backend as K
|
|
9 |
from tensorflow.keras.models import Model
|
10 |
import segmentation_models as sm
|
11 |
from tensorflow import keras
|
12 |
-
|
13 |
-
model10 = sm.FPN(BACKBONE,
|
14 |
-
#encoder_freeze = True,
|
15 |
-
#pyramid_block_filters=16,
|
16 |
-
encoder_weights='imagenet',
|
17 |
-
classes=n_classes, activation='softmax')
|
18 |
|
19 |
sm.set_framework('tf.keras')
|
20 |
|
|
|
9 |
from tensorflow.keras.models import Model
|
10 |
import segmentation_models as sm
|
11 |
from tensorflow import keras
|
12 |
+
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
sm.set_framework('tf.keras')
|
15 |
|