Skip to content

Commit

Permalink
Update fcn.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Tramac authored Oct 28, 2020
1 parent 61626f2 commit 82db70c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/models/fcn.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def get_fcn32s(dataset='pascal_voc', backbone='vgg16', pretrained=False, root='~
'ade20k': 'ade',
'coco': 'coco',
'citys': 'citys',
'sbu': 'sub',
'sbu': 'sbu',
}
from ..data.dataloader import datasets
model = FCN32s(datasets[dataset].NUM_CLASS, backbone=backbone, pretrained_base=pretrained_base, **kwargs)
Expand All @@ -176,7 +176,7 @@ def get_fcn16s(dataset='pascal_voc', backbone='vgg16', pretrained=False, root='~
'ade20k': 'ade',
'coco': 'coco',
'citys': 'citys',
'sbu': 'sub',
'sbu': 'sbu',
}
from ..data.dataloader import datasets
model = FCN16s(datasets[dataset].NUM_CLASS, backbone=backbone, pretrained_base=pretrained_base, **kwargs)
Expand All @@ -196,7 +196,7 @@ def get_fcn8s(dataset='pascal_voc', backbone='vgg16', pretrained=False, root='~/
'ade20k': 'ade',
'coco': 'coco',
'citys': 'citys',
'sbu': 'sub',
'sbu': 'sbu',
}
from ..data.dataloader import datasets
model = FCN8s(datasets[dataset].NUM_CLASS, backbone=backbone, pretrained_base=pretrained_base, **kwargs)
Expand Down

0 comments on commit 82db70c

Please sign in to comment.