mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
[FIX] fixing bug in test_cfg
for U-Net _base_ script
tuples were required as default input, but int was given
This commit is contained in:
parent
1bb58de01a
commit
9387455d5b
@ -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