Update README.md
Browse files
README.md
CHANGED
@@ -55,9 +55,6 @@ model = timm.create_model(
|
|
55 |
pretrained=True,
|
56 |
).eval()
|
57 |
|
58 |
-
# disable norm5's activation, as per torchvision's implementation
|
59 |
-
model.features.norm5.act == nn.Identity()
|
60 |
-
|
61 |
# get model specific transforms (normalization, resize)
|
62 |
data_config = timm.data.resolve_model_data_config(model)
|
63 |
transforms = timm.data.create_transform(**data_config, is_training=False)
|
@@ -88,9 +85,6 @@ model = timm.create_model(
|
|
88 |
num_classes=0,
|
89 |
).eval()
|
90 |
|
91 |
-
# disable norm5's activation, as per torchvision's implementation
|
92 |
-
model.features.norm5.act == nn.Identity()
|
93 |
-
|
94 |
# get model specific transforms (normalization, resize)
|
95 |
data_config = timm.data.resolve_model_data_config(model)
|
96 |
transforms = timm.data.create_transform(**data_config, is_training=False)
|
|
|
55 |
pretrained=True,
|
56 |
).eval()
|
57 |
|
|
|
|
|
|
|
58 |
# get model specific transforms (normalization, resize)
|
59 |
data_config = timm.data.resolve_model_data_config(model)
|
60 |
transforms = timm.data.create_transform(**data_config, is_training=False)
|
|
|
85 |
num_classes=0,
|
86 |
).eval()
|
87 |
|
|
|
|
|
|
|
88 |
# get model specific transforms (normalization, resize)
|
89 |
data_config = timm.data.resolve_model_data_config(model)
|
90 |
transforms = timm.data.create_transform(**data_config, is_training=False)
|