- 08 Dec, 2021 1 commit
-
-
Yiwen Song authored
* Adding repaeted data-augument sampler * rebase on top of latest main * fix formatting * rename file * adding coode source
-
- 30 Nov, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Change the `default` weights mechanism to sue Enum aliases. * Change `get_weights` to work with full Enum names and make it public. * Applying improvements from code review.
-
- 29 Nov, 2021 1 commit
-
-
Nicolas Hug authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 22 Nov, 2021 2 commits
-
-
Sepehr Sameni authored
-
Vasilis Vryniotis authored
* Add multi-type support on get_weight. * Fix bug on method call. * Adding logging suffix for QAT.
-
- 12 Nov, 2021 2 commits
-
-
Vasilis Vryniotis authored
-
Hu Ye authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 09 Nov, 2021 1 commit
-
-
Hu Ye authored
* fix bug in amp * fix bug in training by amp * support use gradient clipping when amp is enabled Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Prabhat Roy <prabhatroy@fb.com>
-
- 04 Nov, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Clean up unnecessary quant builders and add quant weights for 0.5 * Fixing mypy.
-
- 03 Nov, 2021 2 commits
-
-
Vasilis Vryniotis authored
* Reordering the builders to use proper typing. * Adding additional meta-data on existing quantized models. * Fixing meta on unquantized model. * Adding quantized googlenet builder. * undo inception move. * Adding recipe information.
-
Vasilis Vryniotis authored
-
- 02 Nov, 2021 3 commits
-
-
Yiwen Song authored
* [references] Adding gradient clipping * ufmt formatting * remove apex code * resolve naming issue
-
Vasilis Vryniotis authored
* Adding multi-weight support to Quantized ResNet. * Update references script to support testing quantized models with the new API. * Handle quantized models correctly in ref script. * Fixing references for quantization.
-
Vasilis Vryniotis authored
* Update training references from legacy models. * Refactoring to share common parts.
-
- 01 Nov, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Moving original builder at the bottom of the page to use proper typing. * Adding multiweight support to inception. * Update doc.
-
- 28 Oct, 2021 1 commit
-
-
Jirka Borovec authored
Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 25 Oct, 2021 2 commits
-
-
Vasilis Vryniotis authored
* Update model checkpoint for resnet50. * Add get_weight method to retrieve weights from name. * Update the references to support prototype weights. * Fixing mypy typing. * Switching to a python 3.6 supported equivalent. * Add unit-test. * Add optional num_classes.
-
Nicolas Hug authored
-
- 24 Oct, 2021 1 commit
-
-
puhuk authored
* Add type to default argument To resolve issue #4694 * Resolve issue #4694 Add missing types on argument parser * Update with ufmt formatted with ufmt * Updated with review Updated with review * Update type of arguments Add train.py from video_classification, similarity and train_quantization.py Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 22 Oct, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Update EMA every X iters. * Adding AdamW optimizer. * Adjusting EMA decay scheme. * Support custom weight decay for Normalization layers. * Fix identation bug. * Change EMA adjustment. * Quality of life changes to faciliate testing * ufmt format * Fixing imports. * Adding FixRes improvement. * Support EMA in store_model_weights. * Adding interpolation values. * Change train_crop_size. * Add interpolation option. * Removing hardcoded interpolation and sizes from the scripts. * Fixing linter. * Incorporating feedback from code review.
-
- 17 Oct, 2021 1 commit
-
-
Dmytro authored
-
- 13 Oct, 2021 1 commit
-
-
Nicolas Hug authored
-
- 08 Oct, 2021 1 commit
-
-
Prabhat Roy authored
-
- 07 Oct, 2021 1 commit
-
-
Prabhat Roy authored
* Updated classification reference script to use torch.cuda.amp * Assigned scaler to None if amp is False * Fixed linter errors
-
- 06 Oct, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 04 Oct, 2021 2 commits
-
-
Nicolas Hug authored
-
Philip Meier authored
* add ufmt as code formatter * cleanup * quote ufmt requirement * split imports into more groups * regenerate circleci config * fix CI * clarify local testing utils section * use ufmt pre-commit hook * split relative imports into local category * Revert "split relative imports into local category" This reverts commit f2e224cde2008c56c9347c1f69746d39065cdd51. * pin black and usort dependencies * fix local test utils detection * fix ufmt rev * add reference utils to local category * fix usort config * remove custom categories sorting * Run pre-commit without fixing flake8 * got a double import in merge Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 29 Sep, 2021 1 commit
-
-
Kai Zhang authored
* initial code * add SqueezeExcitation * initial code * add SqueezeExcitation * add SqueezeExcitation * regnet blocks, stems and model definition * nit * add fc layer * use Callable instead of Enum for block, stem and activation * add regnet_x and regnet_y model build functions, add docs * remove unused depth * use BN/activation constructor and ConvBNActivation * add expected test pkl files * allow custom activation in SqueezeExcitation * use ReLU as the default activation * initial code * add SqueezeExcitation * initial code * add SqueezeExcitation * add SqueezeExcitation * regnet blocks, stems and model definition * nit * add fc layer * use Callable instead of Enum for block, stem and activation * add regnet_x and regnet_y model build functions, add docs * remove unused depth * use BN/activation constructor and ConvBNActivation * reuse SqueezeExcitation from efficientnet * refactor RegNetParams into BlockParams * use nn.init, replace np with torch * update README * construct model with stem, block, classifier instances * Revert "construct model with stem, block, classifier instances" This reverts commit 850f5f3ed01a2a9b36fcbf8405afd6e41d2e58ef. * remove unused blocks * support scaled model * fuse into ConvBNActivation * make reset_parameters private * fix type errors * fix for unit test * add pretrained weights for 6 variant models, update docs
-
- 26 Sep, 2021 1 commit
-
-
Prabhat Roy authored
* Replaced ToTensor with a combination of PILToTensor and ConvertImageDtype * Pass dtype
-
- 21 Sep, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Adding ExponentialLR and LinearLR * Fix arg type of --lr-warmup-decay * Adding support of Zero gamma BN and SGD with nesterov. * Fix --lr-warmup-decay for video_classification. * Update bn_reinit * Fix pre-existing bug on num_classes of model * Remove zero gamma. * Use fstrings.
-
- 20 Sep, 2021 1 commit
-
-
Shruti Pulstya authored
-
- 17 Sep, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Warmup on Classficiation references. * Adjust epochs for cosine. * Warmup on Segmentation references. * Warmup on Video classification references. * Adding support of both types of warmup in segmentation. * Use LinearLR in detection. * Fix deprecation warning.
-
- 15 Sep, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Add RandomMixupCutmix. * Add test with real data. * Use dataloader and collate in the test. * Making RandomMixupCutmix JIT scriptable. * Move out label_smoothing and try roll instead of flip * Adding mixup/cutmix in references script. * Handle one-hot encoded target in accuracy. * Add support of devices on tests. * Separate Mixup from Cutmix. * Add check for floats. * Adding device on expect value. * Remove hardcoded weights. * One-hot only when necessary. * Fix linter. * Moving mixup and cutmix to references. * Final code clean up.
-
- 14 Sep, 2021 3 commits
-
-
Vasilis Vryniotis authored
* Update log message. * Update fstring.
-
Prabhat Roy authored
-
Prabhat Roy authored
-
- 13 Sep, 2021 1 commit
-
-
Philip Meier authored
* add pre-commit hooks * ignore yamls in packaging/* * add pre-commit to contributing guide lines * Update CONTRIBUTING.md Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * remove some hooks * fix docstrings * fix end of files Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 10 Sep, 2021 1 commit
-
-
D. Khuê Lê-Huu authored
* Fix training resuming in references/segmentation * Clarification for training resnext101_32x8d * Update references/classification/README.md Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 09 Sep, 2021 1 commit
-
-
Prabhat Roy authored
* Added Exponential Moving Average support to classification reference script * Addressed review comments * Updated model argument
-
- 06 Sep, 2021 1 commit
-
-
SamuelGabriel authored
* Initial Proposal * Tensor Save Test + Test Name Fix * Formatting + removing unused argument * fix old argument * fix isnan check error + indexing error with jit * Fix Flake8 error. * Fix MyPy error. * Fix Flake8 error. * Fix PyTorch JIT error in UnitTests due to type annotation. * Fixing tests. * Removing type ignore. * Adding support of ta_wide in references. * Move methods in classes. * Moving new classes to the bottom. * Specialize to TA to TAwide * Add missing type * Fixing lint * Fix doc * Fix search space of TrivialAugment. Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com>
-