OhST commited on
Commit
cca286e
1 Parent(s): 6a9c80b

machine learning assignment 3 모델 512~1280으로 수정함.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,10 +8,10 @@ import tensorflow as tf
8
  from transformers import SegformerFeatureExtractor, TFSegformerForSemanticSegmentation
9
 
10
  feature_extractor = SegformerFeatureExtractor.from_pretrained(
11
- "nvidia/segformer-b1-finetuned-cityscapes-1024-1024"
12
  )
13
  model = TFSegformerForSemanticSegmentation.from_pretrained(
14
- "nvidia/segformer-b1-finetuned-cityscapes-1024-1024"
15
  )
16
 
17
  def ade_palette():
 
8
  from transformers import SegformerFeatureExtractor, TFSegformerForSemanticSegmentation
9
 
10
  feature_extractor = SegformerFeatureExtractor.from_pretrained(
11
+ "nvidia/segformer-b0-finetuned-cityscapes-640-1280"
12
  )
13
  model = TFSegformerForSemanticSegmentation.from_pretrained(
14
+ "nvidia/segformer-b0-finetuned-cityscapes-640-1280"
15
  )
16
 
17
  def ade_palette():