Merge pull request #19 from rwightman/resnet-refactor
Ross Wightman
2019-07-20 08:47:21 -0700
d97510fd4aAdd new results csv and update README with 3 new ResNet weight results
#19
Ross Wightman
2019-07-20 08:45:05 -0700
3d9be78fc6A bit more ResNet cleanup. * add inplace=True back * minor comment improvements * few clarity changes
Ross Wightman
2019-07-19 16:44:35 -0700
33436fafadAdd weights for ResNeXt50d model
Ross Wightman
2019-07-19 14:09:10 -0700
e78cd79073Move ResNet additions for Gluon into main ResNet impl. Add ResNet-26 and ResNet-26d models with weights.
Ross Wightman
2019-07-14 18:17:35 -0700
c37cb0f2b7ImageNet-1k vs ImageNet-v2 comparison
Ross Wightman
2019-07-06 17:19:56 -0700
6cdf35e670Add explicit half/fp16 support to loader and validation script
Ross Wightman
2019-07-05 13:50:12 -0700
Merge pull request #16 from rwightman/misc-epoch
Ross Wightman
2019-06-29 16:59:11 -0700
9b0070edc9Add two comments back, fix typo
#16
Ross Wightman
2019-06-29 16:44:25 -0700
188aeae8f4Bump version 0.1.4
Ross Wightman
2019-06-29 16:17:54 -0700
c3287aafb3Slight improvement in EfficientNet-B2 native PyTorch weights
Ross Wightman
2019-06-29 16:17:06 -0700
b8762cc67dModel updates. Add my best ResNet50 weights top-1=78.47. Add some other torchvision weights. * Remove some models that don't exist as pretrained an likely never will (se)resnext152 * Add some torchvision weights as tv_ for models that I have added better weights for * Add wide resnet recently added to torchvision along with resnext101-32x8d * Add functionality to model registry to allow filtering on pretrained weight presence
Ross Wightman
2019-06-29 15:37:42 -0700
65a634626fSwitch random erasing to doing normal_() on CPU to avoid instability, remove a debug print
Ross Wightman
2019-06-29 10:03:13 -0700
c6b32cbe73A number of tweaks to arguments, epoch handling, config * reorganize train args * allow resolve_data_config to be used with dict args, not just arparse * stop incrementing epoch before save, more consistent naming vs csv, etc * update resume and start epoch handling to match above * stop auto-incrementing epoch in scheduler
Ross Wightman
2019-06-28 13:49:20 -0700
9d653b68a2Make drop_connect rate scaling match official impl. Fixes#14
Ross Wightman
2019-06-25 09:30:36 -0700
13c19e213dAdd native PyTorch EfficientNet B1 and B2 weights. Not quite where I want them, but hitting the brick wall and moving on to other projects...
Ross Wightman
2019-06-24 13:12:04 -0700
a0275cfa2fFix arg positions in two entrypoint aliases
Ross Wightman
2019-06-24 08:25:14 -0700
fe59249701Bump version to 0.1.2
Ross Wightman
2019-06-23 18:27:30 -0700
171c0b88b6Add model registry and model listing fns, refactor model_factory/create_model fn
Ross Wightman
2019-06-23 18:22:16 -0700
1202d053bcmarkdown in setup.py
v0.1.1
Ross Wightman
2019-06-21 14:08:43 -0700
87b92c528eSome pretrianed URL changes * host some of Cadene's weights on github instead of .fr for speed * add my old port of ensemble adversarial inception resnet v2 * switch to my TF port of normal inception res v2 and change FC layer back to 'classif' for compat with ens_adv
Ross Wightman
2019-06-21 13:57:08 -0700
827a3d6010Add current checkpoints output back to CheckpointSaver (via logger)
v0.1-cadene
Ross Wightman
2019-06-21 11:57:43 -0700
63961b36a2Missed pnasnet entrypoint
Ross Wightman
2019-06-20 23:34:20 -0700
6cc214bd7aConsistency in model entrypoints * move pretrained entrypoint arg to first pos to be closer to torchvision/hub * change DPN weight URLS to my github location
Ross Wightman
2019-06-20 23:29:44 -0700
b20bb58284Distributed tweaks * Support PyTorch native DDP as fallback if APEX not present * Support SyncBN for both APEX and Torch native (if torch >= 1.1) * EMA model does not appear to need DDP wrapper, no gradients, updated from wrapped model
Ross Wightman
2019-06-20 22:27:09 -0700
6fc886acafRemove all prints, change most to logging calls, tweak alignment of batch logs, improve setup.py
Ross Wightman
2019-06-20 17:29:25 -0700
Replace `getattr` with `hasattr` in `get_state_dict`
#13
Maxim Berman
2019-06-20 16:12:37 -0700
1d7f2d93a6Python >= 3.6 requirement
Ross Wightman
2019-06-19 17:28:08 -0700
aa4354f466Big re-org, working towards making pip/module as 'timm'
Ross Wightman
2019-06-19 17:19:37 -0700
871f4c1b0cChange some absolute imports to relative
Ross Wightman
2019-06-19 16:08:58 -0700
b9f8d40b10Fix pretrained override logic for validate, checkpoint always trump pretrained flag during model create
Ross Wightman
2019-06-19 15:23:16 -0700
Update README.md
Ross Wightman
2019-06-14 10:51:54 -0700
f3134973b5Add the MnasNet-B1 variant weights, add A1/B1 model names as in the stand-alone repo, remove a bit of unused code
Ross Wightman
2019-06-14 09:08:02 -0700
c1a84ecb22dataset not passed through PrefetchLoader for inference script. Fix#10 * also, make top5 configurable for lower class count cases
Ross Wightman
2019-06-11 21:59:56 -0700
2060e433c0Add native PyTorch weights for SE-MnasNet aka MnasNet-A1
Ross Wightman
2019-06-11 08:54:54 -0700
7dab6d1ec7Default to img_size in model default_cfg, defer output folder creation until later in the init sequence
#12
Ross Wightman
2019-06-10 13:34:42 -0700
7d17394bdcAdd native PyTorch weights for EfficientNet-B0 w/ top-1 > 76.9 * also add pooling details to default cfg for efficiennets so testtimepool wrapper works
Ross Wightman
2019-06-10 13:11:36 -0700
9bcd65181bAdd exponential moving average for model weights + few other additions and cleanup * ModelEma class added to track an EMA set of weights for the model being trained * EMA handling added to train, validation and clean_checkpoint scripts * Add multi checkpoint or multi-model validation support to validate.py * Add syncbn option (APEX) to train script for experimentation * Cleanup interface of CheckpointSaver while adding ema functionality
Ross Wightman
2019-06-07 15:39:36 -0700
ff99625603Missed a few models in the model/_all_ list for senet
Ross Wightman
2019-05-31 10:51:18 -0700
99122aac1cReplace ResNet-34 default weights with a great result from my experiments.
Ross Wightman
2019-05-31 10:34:37 -0700
48ab3cf070Add Apache LICENSE file
Ross Wightman
2019-05-31 07:24:03 -0700
4bb5e9b224Ported Tensorflow pretrained EfficientNet weights and some model cleanup * B0-B3 weights ported from TF with close to paper accuracy * Renamed gen_mobilenet to gen_efficientnet since scaling params go well beyond 'mobile' specific * Add Tensorflow preprocessing option for closer images to source repo
Ross Wightman
2019-05-30 17:52:52 -0700
4efecfdc47Add drop_connect impl to try during training, fix a few comments
v0.1-weights
Ross Wightman
2019-05-30 08:42:12 -0700
0fc4cca2ffCleanup unused member with old name
Ross Wightman
2019-05-29 23:44:01 -0700
7a6d61566eAdd EfficientNet impl, change existing depth_multipler -> channel_multiplier as definitions have been confused
Ross Wightman
2019-05-29 23:32:52 -0700
6bff9c75dcCleanup model_factory imports, consistent __all__ for models, fixed inception_v4 weight url
Ross Wightman
2019-05-28 21:39:54 -0700
e6c14427c0More appropriate/correct loss name
Ross Wightman
2019-05-28 16:56:07 -0700
Update README.md
Ross Wightman
2019-05-18 22:27:42 -0700
4d2056722aMixup and prefetcher improvements * Do mixup in custom collate fn if prefetcher enabled, reduces performance impact * Move mixup code to own file * Add arg to disable prefetcher * Fix no cuda transfer when prefetcher off * Random erasing when prefetcher off wasn't changed to match new args, fixed * Default random erasing to off (prob = 0.) for train
Ross Wightman
2019-05-18 22:17:51 -0700
780c0a96a4Change args for RandomErasing so only one required for pixel/color mode
Ross Wightman
2019-05-18 12:29:30 -0700
76539d905eSome 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
Ross Wightman
2019-05-16 22:52:17 -0700
e3377b0409Add some info to README
Ross Wightman
2019-05-15 09:54:07 -0700
db8ad25a23MobileNetV3 appears correct based on paper update, cleaned up comments and compacted last block def
Ross Wightman
2019-05-15 08:53:27 -0700
20d66beeadMove RMSpropTF another step closer to Tensorflow impl * init square_avg with one instead of zero as per TF * match TF order of ops for square_avg accumulation * move LR scaling to momentum buffer accumulator as per TF * add decoupled weight decay flag (not in TF)
Ross Wightman
2019-05-14 18:30:46 -0700
89147a91e6Remove adabound optimizer, never got it working well on larger datasets
Ross Wightman
2019-05-14 18:29:34 -0700
Identity is not the same thing as equality in Python
#1
cclauss
2019-05-14 17:19:57 +0200
fee607edf6Mixup implemention in progress * initial impl w/ label smoothing converging, but needs more testing
Ross Wightman
2019-05-13 19:05:40 -0700
c3fbdd4655Fix efficient head for MobileNetV3
Ross Wightman
2019-05-11 11:23:11 -0700
17da1adacaA few MobileNetV3 tweaks * fix expansion ratio on early block * change comment re stride mistake in paper * fix rounding not being called properly for all multipliers != 1.0
Ross Wightman
2019-05-11 10:23:40 -0700
6523e4abe4More appropriate name for se channel
Ross Wightman
2019-05-10 23:32:18 -0700
db056d97e2Add MobileNetV3 and associated changes hard-swish, hard-sigmoid, efficient head, etc
Ross Wightman
2019-05-10 23:28:13 -0700
02abeb95bfAdd the url for tflite mnasnet ported weights
Ross Wightman
2019-04-28 23:21:35 -0700
Update README.md
Ross Wightman
2019-04-28 18:06:20 -0700
4663fc2132Add 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
Ross Wightman
2019-04-28 17:45:07 -0700
afb357ff68Make genmobilenet weight init switchable, fix fan_out in google style linear init
Ross Wightman
2019-04-22 17:46:17 -0700