Skip to content

Commit

Permalink
Stub fixes (#1726)
Browse files Browse the repository at this point in the history
* pass  tests/sparseml/pytorch/models/classification/test_inception_v3.py

* pass zoo:cv/classification/vgg-16_bn/pytorch/sparseml/imagenet/base-none

* pass tests

* track models, deprecated/corrupted

* re-sync models from source, and lint
  • Loading branch information
horheynm committed Sep 25, 2023
1 parent 59193ec commit adb0eca
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
[
("inception_v3", False, True),
("inception_v3", True, False),
("inception_v3", "pruned-conservative", False),
("inception_v3", "pruned-moderate", False),
],
)
def test_inception_v3s(key: str, pretrained: Union[bool, str], test_input: bool):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
("mobilenet", False, True),
("mobilenet", True, False),
("mobilenet", "base", False),
("mobilenet", "pruned-conservative", False),
("mobilenet", "pruned-moderate", False),
],
)
Expand Down
2 changes: 0 additions & 2 deletions tests/sparseml/pytorch/models/classification/test_resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@
("resnet50", False, True, resnet50),
("resnet50", True, False, resnet50),
("resnet50", "base", False, resnet50),
("resnet50", "pruned-conservative", False, resnet50),
("resnet50", "pruned-moderate", False, resnet50),
("resnet50_2xwidth", False, True, resnet50_2xwidth),
("resnet50_2xwidth", True, False, resnet50_2xwidth),
("resnet50_2xwidth", "base", False, resnet50_2xwidth),
Expand Down
1 change: 0 additions & 1 deletion tests/sparseml/pytorch/models/classification/test_vgg.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
("vgg16", False, True, vgg16),
("vgg16", True, False, vgg16),
("vgg16", "base", False, vgg16),
("vgg16", "pruned-conservative", False, vgg16),
("vgg16", "pruned-moderate", False, vgg16),
("vgg16bn", False, True, vgg16bn),
("vgg16bn", True, False, vgg16bn),
Expand Down

0 comments on commit adb0eca

Please sign in to comment.