-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,6 @@ | ||
dependencies = ['torch'] | ||
|
||
from pytorch_cifar_models import cifar10_resnet20 | ||
from pytorch_cifar_models import cifar10_resnet32 | ||
from pytorch_cifar_models import cifar10_resnet44 | ||
from pytorch_cifar_models import cifar10_resnet56 | ||
import pytorch_cifar_models | ||
|
||
from pytorch_cifar_models import cifar100_resnet20 | ||
from pytorch_cifar_models import cifar100_resnet32 | ||
from pytorch_cifar_models import cifar100_resnet44 | ||
from pytorch_cifar_models import cifar100_resnet56 | ||
|
||
from pytorch_cifar_models import cifar10_vgg11_bn | ||
from pytorch_cifar_models import cifar10_vgg13_bn | ||
from pytorch_cifar_models import cifar10_vgg16_bn | ||
from pytorch_cifar_models import cifar10_vgg19_bn | ||
dependencies = ['torch'] | ||
|
||
from pytorch_cifar_models import cifar100_vgg11_bn | ||
from pytorch_cifar_models import cifar100_vgg13_bn | ||
from pytorch_cifar_models import cifar100_vgg16_bn | ||
from pytorch_cifar_models import cifar100_vgg19_bn | ||
models = filter(lambda name: name.startswith("cifar"), dir(pytorch_cifar_models)) | ||
globals().update({model: getattr(pytorch_cifar_models, model) for model in models}) |