Ross Wightman
9b0070edc9
Add two comments back, fix typo
5 years ago
Ross Wightman
188aeae8f4
Bump version 0.1.4
5 years ago
Ross Wightman
c3287aafb3
Slight improvement in EfficientNet-B2 native PyTorch weights
5 years ago
Ross Wightman
b8762cc67d
Model 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
5 years ago
Ross Wightman
65a634626f
Switch random erasing to doing normal_() on CPU to avoid instability, remove a debug print
5 years ago
Ross Wightman
c6b32cbe73
A 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
5 years ago
Ross Wightman
9d653b68a2
Make drop_connect rate scaling match official impl. Fixes #14
5 years ago
Ross Wightman
13c19e213d
Add native PyTorch EfficientNet B1 and B2 weights. Not quite where I want them, but hitting the brick wall and moving on to other projects...
5 years ago
Ross Wightman
a0275cfa2f
Fix arg positions in two entrypoint aliases
5 years ago
Ross Wightman
fe59249701
Bump version to 0.1.2
5 years ago
Ross Wightman
171c0b88b6
Add model registry and model listing fns, refactor model_factory/create_model fn
5 years ago
Ross Wightman
8512436436
Add instagram pretrained ResNeXt models from https://pytorch.org/hub/facebookresearch_WSL-Images_resnext/ , update README
5 years ago
Ross Wightman
1202d053bc
markdown in setup.py
5 years ago
Ross Wightman
87b92c528e
Some 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
5 years ago
Ross Wightman
827a3d6010
Add current checkpoints output back to CheckpointSaver (via logger)
5 years ago
Ross Wightman
63961b36a2
Missed pnasnet entrypoint
5 years ago
Ross Wightman
6cc214bd7a
Consistency in model entrypoints
...
* move pretrained entrypoint arg to first pos to be closer to torchvision/hub
* change DPN weight URLS to my github location
5 years ago
Ross Wightman
b20bb58284
Distributed 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
5 years ago
Ross Wightman
6fc886acaf
Remove all prints, change most to logging calls, tweak alignment of batch logs, improve setup.py
5 years ago
Ross Wightman
1d7f2d93a6
Python >= 3.6 requirement
5 years ago
Ross Wightman
aa4354f466
Big re-org, working towards making pip/module as 'timm'
5 years ago
Ross Wightman
871f4c1b0c
Change some absolute imports to relative
5 years ago
Ross Wightman
b9f8d40b10
Fix pretrained override logic for validate, checkpoint always trump pretrained flag during model create
5 years ago
Ross Wightman
0e1fd11ad8
Merge pull request #12 from rwightman/ema-cleanup
...
Model weights Exponential Moving Average
5 years ago
Ross Wightman
1019414fd2
Add ported Tensorflow EfficientNet B4/B5 weights
5 years ago
Ross Wightman
c9a61b7d98
Add gitignore
5 years ago
Ross Wightman
c6b8259ad6
Update README.md
...
Add blurb about python environment
5 years ago
Ross Wightman
f3134973b5
Add the MnasNet-B1 variant weights, add A1/B1 model names as in the stand-alone repo, remove a bit of unused code
5 years ago
Ross Wightman
c1a84ecb22
dataset not passed through PrefetchLoader for inference script. Fix #10
...
* also, make top5 configurable for lower class count cases
5 years ago
Ross Wightman
2060e433c0
Add native PyTorch weights for SE-MnasNet aka MnasNet-A1
5 years ago
Ross Wightman
7dab6d1ec7
Default to img_size in model default_cfg, defer output folder creation until later in the init sequence
5 years ago
Ross Wightman
7d17394bdc
Add native PyTorch weights for EfficientNet-B0 w/ top-1 > 76.9
...
* also add pooling details to default cfg for efficiennets so testtimepool wrapper works
5 years ago
Ross Wightman
9bcd65181b
Add 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
5 years ago
Ross Wightman
105d5702d7
Update README.md
6 years ago
Ross Wightman
6688d0669f
PyTorch trained MobileNetV3 weights that match/best paper. Update fbnetc weights to improved copy.
6 years ago
Ross Wightman
89e77ec049
Merge pull request #7 from zhunzhong07/patch-2
...
Correct name
6 years ago
Zhun Zhong
b32361c9f8
Correct name
6 years ago
Ross Wightman
ff99625603
Missed a few models in the model/_all_ list for senet
6 years ago
Ross Wightman
99122aac1c
Replace ResNet-34 default weights with a great result from my experiments.
6 years ago
Ross Wightman
48ab3cf070
Add Apache LICENSE file
6 years ago
Ross Wightman
4bb5e9b224
Ported 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
6 years ago
Ross Wightman
4efecfdc47
Add drop_connect impl to try during training, fix a few comments
6 years ago
Ross Wightman
0fc4cca2ff
Cleanup unused member with old name
6 years ago
Ross Wightman
7a6d61566e
Add EfficientNet impl, change existing depth_multipler -> channel_multiplier as definitions have been confused
6 years ago
Ross Wightman
6bff9c75dc
Cleanup model_factory imports, consistent __all__ for models, fixed inception_v4 weight url
6 years ago
Ross Wightman
e6c14427c0
More appropriate/correct loss name
6 years ago
Ross Wightman
99ab1b1276
Update README.md
6 years ago
Ross Wightman
c2de3a922b
Update README.md
6 years ago
Ross Wightman
337702d51b
Merge pull request #2 from zhunzhong07/patch-1
...
Fix bug for prefetcher
6 years ago
Zhun Zhong
127487369f
Fix bug for prefetcher
...
Set input and target to Cuda when without using prefetcher.
6 years ago