mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
Merge pull request #1 from smttsp/ISSUE-2337/bug/unet_param
[FIX] fixing bug in `test_cfg` for U-Net _base_ script
This commit is contained in:
commit
bd87c92571
@ -47,4 +47,4 @@ model = dict(
|
||||
type='CrossEntropyLoss', use_sigmoid=False, loss_weight=0.4)),
|
||||
# model training and testing settings
|
||||
train_cfg=dict(),
|
||||
test_cfg=dict(mode='slide', crop_size=256, stride=170))
|
||||
test_cfg=dict(mode='slide', crop_size=(256, 256), stride=(170, 170)))
|
||||
|
@ -48,4 +48,4 @@ model = dict(
|
||||
type='CrossEntropyLoss', use_sigmoid=False, loss_weight=0.4)),
|
||||
# model training and testing settings
|
||||
train_cfg=dict(),
|
||||
test_cfg=dict(mode='slide', crop_size=256, stride=170))
|
||||
test_cfg=dict(mode='slide', crop_size=(256, 256), stride=(170, 170)))
|
||||
|
@ -47,4 +47,4 @@ model = dict(
|
||||
type='CrossEntropyLoss', use_sigmoid=False, loss_weight=0.4)),
|
||||
# model training and testing settings
|
||||
train_cfg=dict(),
|
||||
test_cfg=dict(mode='slide', crop_size=256, stride=170))
|
||||
test_cfg=dict(mode='slide', crop_size=(256, 256), stride=(170, 170)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user