fradinho commited on
Commit
60770c2
·
1 Parent(s): c6254c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -345,7 +345,7 @@ def decoder(inputs, input_tensor):
345
 
346
 
347
 
348
- def unet_2( n_classes=2, height=size, width=size, channels=3, metrics = ['accuracy']):
349
  inputs = Input((height, width, channels))
350
 
351
 
@@ -582,6 +582,7 @@ def unet_enssemble(n_classes=2, height=64, width=64, channels=3, metrics = ['acc
582
 
583
  return model
584
 
 
585
  model = unet_enssemble(n_classes=n_classes, height = height, width = width, channels = n_channels)
586
 
587
 
 
345
 
346
 
347
 
348
+ def unet_2( n_classes=2, height=pach_size, width=pach_size, channels=3, metrics = ['accuracy']):
349
  inputs = Input((height, width, channels))
350
 
351
 
 
582
 
583
  return model
584
 
585
+ n_classes = 23
586
  model = unet_enssemble(n_classes=n_classes, height = height, width = width, channels = n_channels)
587
 
588