Amrender commited on
Commit
8d56fd5
·
verified ·
1 Parent(s): 62206ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ class UnifiedCartographer(nn.Module):
85
  def __init__(self, num_classes=5):
86
  super().__init__()
87
  self.model = SegformerForSemanticSegmentation.from_pretrained(
88
- "nvidia/segformer-b5-finetuned-cityscapes-1024-1024",
89
  num_labels=num_classes, ignore_mismatched_sizes=True
90
  )
91
  def forward(self, x):
 
85
  def __init__(self, num_classes=5):
86
  super().__init__()
87
  self.model = SegformerForSemanticSegmentation.from_pretrained(
88
+ "nvidia/segformer-b5-finetuned-ade-640-640",
89
  num_labels=num_classes, ignore_mismatched_sizes=True
90
  )
91
  def forward(self, x):