Skip to content

Commit e4e4f8c

Browse files
committed
chore: Add efficientNet to testsuite
Signed-off-by: Dheeraj Peri <[email protected]>
1 parent b584f7a commit e4e4f8c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/modules/hub.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import torch.nn as nn
33
import torch.nn.functional as F
44
import torchvision.models as models
5+
import timm
56

67
models = {
78
"alexnet": {
@@ -64,6 +65,10 @@
6465
"faster_rcnn": {
6566
"model": models.detection.fasterrcnn_resnet50_fpn(pretrained=True),
6667
"path": "script"
68+
},
69+
"vit": {
70+
"model": timm.create_model('efficientnet_b0', pretrained=True),
71+
"path": "script"
6772
}
6873
}
6974

0 commit comments

Comments
 (0)