Skip to content

Commit 0057d27

Browse files
hgaiser0x00b1
authored andcommitted
Add backwards compatibility for ResNet models. (#52)
1 parent aa6012a commit 0057d27

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

keras_resnet/models/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,12 @@
5656
TimeDistributedResNet152,
5757
TimeDistributedResNet200
5858
)
59+
60+
# for backwards compatibility reasons
61+
ResNet = ResNet2D
62+
ResNet18 = ResNet2D18
63+
ResNet34 = ResNet2D34
64+
ResNet50 = ResNet2D50
65+
ResNet101 = ResNet2D101
66+
ResNet152 = ResNet2D152
67+
ResNet200 = ResNet2D200

0 commit comments

Comments
 (0)