Skip to content

Commit b442282

Browse files
authored
Merge pull request #70 from NVIDIA-AI-IOT/mobilenet_v2
added mobilenet_v2 to module tests
2 parents be79bf7 + 1f507bb commit b442282

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ python3 -m torch2trt.test -o $OUTPUT_FILE --name vgg11_bn
2727
python3 -m torch2trt.test -o $OUTPUT_FILE --name vgg13_bn
2828
python3 -m torch2trt.test -o $OUTPUT_FILE --name vgg16_bn
2929
python3 -m torch2trt.test -o $OUTPUT_FILE --name vgg19_bn
30+
python3 -m torch2trt.test -o $OUTPUT_FILE --name mobilenet_v2

torch2trt/module_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def module_name(self):
3535
ModuleTest(torchvision.models.vgg13_bn, torch.float16, torch.device('cuda'), [(1, 3, 224, 224)], fp16_mode=True),
3636
ModuleTest(torchvision.models.vgg16_bn, torch.float16, torch.device('cuda'), [(1, 3, 224, 224)], fp16_mode=True),
3737
ModuleTest(torchvision.models.vgg19_bn, torch.float16, torch.device('cuda'), [(1, 3, 224, 224)], fp16_mode=True),
38+
ModuleTest(torchvision.models.mobilenet_v2, torch.float16, torch.device('cuda'), [(1, 3, 224, 224)], fp16_mode=True),
3839
]
3940

4041

0 commit comments

Comments
 (0)