-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support fc-ef fc-siam-conc fc-siam-diff
- Loading branch information
Showing
7 changed files
with
543 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# model settings | ||
norm_cfg = dict(type='SyncBN', requires_grad=True) | ||
base_channels = 16 | ||
model = dict( | ||
type='DIEncoderDecoder', | ||
pretrained=None, | ||
backbone=dict( | ||
type='FC_EF', | ||
in_channels=6, | ||
base_channel=base_channels), | ||
decode_head=dict( | ||
type='FCNHead', | ||
in_channels=base_channels, | ||
channels=base_channels, | ||
in_index=-1, | ||
num_convs=0, | ||
concat_input=False, | ||
num_classes=2, | ||
loss_decode=dict( | ||
type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)), | ||
# model training and testing settings | ||
train_cfg=dict(), | ||
test_cfg=dict(mode='whole')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# model settings | ||
norm_cfg = dict(type='SyncBN', requires_grad=True) | ||
base_channels = 16 | ||
model = dict( | ||
type='DIEncoderDecoder', | ||
pretrained=None, | ||
backbone=dict( | ||
type='FC_Siam_conc', | ||
in_channels=3, | ||
base_channel=base_channels), | ||
decode_head=dict( | ||
type='FCNHead', | ||
in_channels=base_channels, | ||
channels=base_channels, | ||
in_index=-1, | ||
num_convs=0, | ||
concat_input=False, | ||
num_classes=2, | ||
loss_decode=dict( | ||
type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)), | ||
# model training and testing settings | ||
train_cfg=dict(), | ||
test_cfg=dict(mode='whole')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
from .interaction_resnet import IA_ResNetV1c | ||
from .interaction_resnest import IA_ResNeSt | ||
from .siamunet_diff import SiamUnet_diff | ||
from .fcsn import FC_EF, FC_Siam_diff, FC_Siam_conc | ||
from .snunet import SNUNet_ECAM | ||
|
||
__all__ = ['IA_ResNetV1c', 'IA_ResNeSt', 'SiamUnet_diff', 'SNUNet_ECAM'] | ||
__all__ = ['IA_ResNetV1c', 'IA_ResNeSt', 'FC_EF', 'FC_Siam_diff', | ||
'FC_Siam_conc', 'SNUNet_ECAM'] |
Oops, something went wrong.