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