Ross Wightman
76539d905e
Some transform/data/loader refactoring, hopefully didn't break things
...
* factor out data related constants to own file
* move data related config helpers to own file
* add a variant of RandomResizeCrop that randomizes interpolation method
* remove old Numpy version of RandomErasing
* cleanup torch version of RandomErasing and use it in either GPU loader batch mode or single image cpu Transform
6 years ago
Ross Wightman
fee607edf6
Mixup implemention in progress
...
* initial impl w/ label smoothing converging, but needs more testing
6 years ago
Ross Wightman
8fbd62a169
Exclude batchnorm and bias params from weight_decay by default
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
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
c328b155e9
Random erasing crash fix and args pass through
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
f1cd1a5ce3
Cleanup CheckpointSaver, add support for increasing or decreasing metric, switch to prec1 metric in train loop
6 years ago
Ross Wightman
5180f94c7e
Distributed (multi-process) train, multi-gpu single process train, and NVIDIA AMP support
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
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
31055466fc
Fixup validate/inference script args, fix senet init for better test accuracy
6 years ago
Ross Wightman
b1a5a71151
Update schedulers
6 years ago
Ross Wightman
b5255960d9
Tweaking tanh scheduler, senet weight init (for BN), transform defaults
6 years ago
Ross Wightman
a336e5bff3
Minor updates
6 years ago
Ross Wightman
cf0c280e1b
Cleanup tranforms, add custom schedulers, tweak senet34 model
6 years ago
Ross Wightman
c57717d325
Fix tta train bug, improve logging
6 years ago
Ross Wightman
72b4d162a2
Increase training performance
6 years ago
Ross Wightman
5855b07ae0
Initial commit, puting some ol pieces together
6 years ago