Skip to content
Snippets Groups Projects
Commit 11560cc6 authored by Daniel CARRON's avatar Daniel CARRON :b: Committed by André Anjos
Browse files

[classification.config] Add model_transforms to model configs

parent 091a947a
No related branches found
No related tags found
1 merge request!46Create common library
...@@ -24,4 +24,5 @@ model = Alexnet( ...@@ -24,4 +24,5 @@ model = Alexnet(
torchvision.transforms.Resize(512, antialias=True), torchvision.transforms.Resize(512, antialias=True),
RGB(), RGB(),
], ],
augmentation_transforms=[],
) )
...@@ -18,4 +18,6 @@ model = Densenet( ...@@ -18,4 +18,6 @@ model = Densenet(
optimizer_arguments=dict(lr=0.0001), optimizer_arguments=dict(lr=0.0001),
pretrained=False, pretrained=False,
dropout=0.1, dropout=0.1,
model_transforms=[],
augmentation_transforms=[],
) )
...@@ -31,4 +31,5 @@ model = Densenet( ...@@ -31,4 +31,5 @@ model = Densenet(
), ),
RGB(), RGB(),
], ],
augmentation_transforms=[],
) )
...@@ -20,4 +20,6 @@ model = Densenet( ...@@ -20,4 +20,6 @@ model = Densenet(
pretrained=False, pretrained=False,
dropout=0.1, dropout=0.1,
num_classes=14, # number of classes in NIH CXR-14 num_classes=14, # number of classes in NIH CXR-14
model_transforms=[],
augmentation_transforms=[],
) )
...@@ -29,4 +29,5 @@ model = Pasa( ...@@ -29,4 +29,5 @@ model = Pasa(
interpolation=torchvision.transforms.InterpolationMode.BILINEAR, interpolation=torchvision.transforms.InterpolationMode.BILINEAR,
), ),
], ],
augmentation_transforms=[],
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment