Ross Wightman
4663fc2132
Add support for tflite mnasnet pretrained weights and included spnasnet pretrained weights of my own.
...
* tensorflow 'SAME' padding support added to GenMobileNet models for tflite pretrained weights
* folded batch norm support (made batch norm optional and enable conv bias) for tflite pretrained weights
* add url for spnasnet1_00 weights that I recently trained
* fix SE reduction size for semnasnet models
6 years ago
Ross Wightman
afb357ff68
Make genmobilenet weight init switchable, fix fan_out in google style linear init
6 years ago
Ross Wightman
34cd76899f
Add Single-Path NAS pixel1 model
6 years ago
Ross Wightman
419555be62
Update a few GenMobileNet comments
6 years ago
Ross Wightman
bc264269c9
Morph mnasnet impl into a generic mobilenet that covers Mnasnet, MobileNetV1/V2, ChamNet, FBNet, and related
...
* add an alternate RMSprop opt that applies eps like TF
* add bn params for passing through alternates and changing defaults to TF style
6 years ago
Ross Wightman
e9c7961efc
Fix pooling in mnasnet, more sensible default for AMP opt level
6 years ago
Ross Wightman
996c77aa94
Prep mnasnet for pretrained models, use the select global pool, some comment mistakes
6 years ago
Ross Wightman
6b4f9ba223
Add MNASNet A1, B1, and Small models as per the TF impl. Testing/training in progress...
6 years ago
Ross Wightman
9e296dbffb
Add seresnet26_32x4d cfg and weights + interpolation str->PIL enum fn
6 years ago
Ross Wightman
79f615639e
Add pretrained weights for seresnet18
6 years ago
Ross Wightman
8a33a6c90a
Add checkpoint clean script, add link to pretrained resnext50 weights
6 years ago
Ross Wightman
6e9697eb9c
Fix small bug in seresnet input size and eval transform handling of img size
6 years ago
Ross Wightman
0562b91c38
Add per model crop pct, interpolation defaults, tie it all together
...
* create one resolve fn to pull together model defaults + cmd line args
* update attribution comments in some models
* test update train/validation/inference scripts
6 years ago
Ross Wightman
9c3859fb9c
Uniform pretrained model handling.
...
* All models have 'default_cfgs' dict
* load/resume/pretrained helpers factored out
* pretrained load operates on state_dict based on default_cfg
* test all models in validate
* schedule, optim factor factored out
* test time pool wrapper applied based on default_cfg
6 years ago
Ross Wightman
63e677d03b
Merge branch 'master' of github.com:rwightman/pytorch-models
6 years ago
Ross Wightman
0bc50e84f8
Lots of refactoring and cleanup.
...
* Move 'test time pool' to Module that can be used by any model, remove from DPN
* Remove ResNext model file and combine with ResNet
* Remove fbresnet200 as it was an old conversion and pretrained performance not worth param count
* Cleanup adaptive avgmax pooling and add back conctat variant
* Factor out checkpoint load fn
6 years ago
Ross Wightman
c0e6e5f3db
Add common model interface to pnasnet and xception, update factory
6 years ago
Ross Wightman
183d8e4aef
Xception model working
6 years ago
Ross Wightman
58571e992e
Change block avgpool in senets to mean for performance issues with NVIDIA and AMP especially
6 years ago
Ross Wightman
6f9a0c8ef2
Merge branch 'master' of github.com:rwightman/pytorch-models
6 years ago
Ross Wightman
5cb1a35c6b
Fixup Resnext, remove alternate shortcut types
6 years ago
Ross Wightman
d87824bd65
Merge branch 'master' of github.com:rwightman/pytorch-models
6 years ago
Ross Wightman
45cde6f0c7
Improve creation of data pipeline with prefetch enabled vs disabled, fixup inception_res_v2 and dpn models
6 years ago
Ross Wightman
321435e6b4
Update resnext init
6 years ago
Ross Wightman
2295cf56c2
Add some Nvidia performance enhancements (prefetch loader, fast collate), and refactor some of training and model fact/transforms
6 years ago
Ross Wightman
9d927a389a
Add adabound, random erasing
6 years ago
Ross Wightman
1577c52976
Resnext added, changes to bring it and seresnet in line with rest of models
6 years ago
Ross Wightman
e0cfeb7d8e
Add some models, remove a model, tweak some models
6 years ago
Ross Wightman
31055466fc
Fixup validate/inference script args, fix senet init for better test accuracy
6 years ago
Ross Wightman
b5255960d9
Tweaking tanh scheduler, senet weight init (for BN), transform defaults
6 years ago
Ross Wightman
cf0c280e1b
Cleanup tranforms, add custom schedulers, tweak senet34 model
6 years ago
Ross Wightman
5855b07ae0
Initial commit, puting some ol pieces together
6 years ago