- 29 Sep, 2021 3 commits
-
-
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
-
Nicolas Hug authored
* Add autouse fixture to save and reset RNG in tests * Add other RNG generators * delete freeze_rng_state * Hopefully fix GaussianBlur test * Alternative fix, probably better * revert changes to test_models Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Aditya Oke authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 27 Sep, 2021 1 commit
-
-
Loi Ly authored
* update channels parameter to every calling to check_functional_vs_PIL_vs_scripted * update adjust_saturation * update docstrings for functional transformations * parametrize channels * update docstring of ColorJitter class * move channels to class's parameter * remove testing channels for geometric transforms * revert redundant changes * revert redundant changes * update grayscale test cases for randaugment, autoaugment, trivialaugment * update docstrings of randaugment, autoaugment, trivialaugment * update docstring of ColorJitter * fix adjust_hue's docstring * change test equal tolerance * refactor grayscale tests * make get_grayscale_test_image private
-
- 24 Sep, 2021 3 commits
-
-
vfdev authored
Description: - Removed tests executing deprecated F_t.center/five/ten_crop methods - Suppressed deprecation warnings while running test/test_functional_tensor.py
-
vfdev authored
-
Aditya Oke authored
Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 21 Sep, 2021 3 commits
-
-
Philip Meier authored
* make tests that involve GDrive more robust * fix expected IDs Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Allen Goodman authored
* ops.masks_to_bounding_boxes * test fixtures * unit test * ignore lint e201 and e202 for in-lined matrix * ignore e121 and e241 linting rules for in-lined matrix * draft gallery example text * removed type annotations from pytest fixtures * inlined fixture * renamed masks_to_bounding_boxes to masks_to_boxes * reformat inline array * import cleanup * moved masks_to_boxes into boxes module * docstring cleanup * updated docstring * fix formatting issue * gallery example * use torch * use torch * use torch * use torch * updated docs and test * cleanup * updated import * use torch * Update gallery/plot_repurposing_annotations.py Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> * Update gallery/plot_repurposing_annotations.py Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> * Update gallery/plot_repurposing_annotations.py Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> * Autodoc * use torch instead of numpy in tests * fix build_docs failure * Closing quotes. Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com>
-
Beat Buesser authored
* Allow gradient backpropagation through GeneralizedRCNNTransform to inputs Signed-off-by:
Beat Buesser <beat.buesser@ie.ibm.com> * Add unit tests for gradient backpropagation to inputs Signed-off-by:
Beat Buesser <beat.buesser@ie.ibm.com> * Update torchvision/models/detection/transform.py Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> * Update _check_input_backprop Signed-off-by:
Beat Buesser <beat.buesser@ie.ibm.com> * Account for tests requiring cuda Signed-off-by:
Beat Buesser <beat.buesser@ie.ibm.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 16 Sep, 2021 1 commit
-
-
Prabhat Roy authored
* Skip building torchvision with ffmpeg when python==3.9 * Add FIXME to comments
-
- 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 1 commit
-
-
Muhammed Abdullah authored
* Added LFW Dataset * Added dataset to list in __init__.py * Updated lfw.py * Created a common superclass for people and pairs type datatsets * corrected the .download() method * Added docstrings and updated datasets.rst * Wrote tests for LFWPeople and LFWPairs * Resolved mypy error: Need type annotation for "data" * Updated inject_fake_data method for LFWPeople * Updated tests for LFW * Updated LFW tests and minor changes in lfw.py * Updated LFW * Added functionality for 10-fold validation view * Optimized the code so to replace repeated lines by method in super class * Updated LFWPeople to get classes from all lfw-names.txt rather than just the classes fron trainset * Updated lfw.py and tests * Updated inject_fake_data method to create 10fold fake data * Minor changes in docstring and extra_repr * resolved py lint errors * Added checksums for annotation files * Minor changes in test * Updated docstrings, defaults and minor changes in test * Removed 'os.path.exists' check Co-authored-by:
ABD-01 <myac931@gmai.com> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 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>
-
- 08 Sep, 2021 1 commit
-
-
Vassilis C. Nicodemou authored
Co-authored-by:
Vassilis Nicodemou <nikodim@ics.forth.gr> Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
- 07 Sep, 2021 1 commit
-
-
Vasilis Vryniotis authored
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/63414 Misuse of raw pointer in here where stack is never nullable. ghstack-source-id: 136938318 Reviewed By: ejguan Differential Revision: D30375410 fbshipit-source-id: 9d65b620bb76d90d886c800f54308520095d58ee Co-authored-by:
Zhengxu Chen <zhxchen17@fb.com>
-
- 06 Sep, 2021 3 commits
-
-
Francisco Massa authored
-
Alexander Soare authored
* add fx feature extraction util * Make it possible to use train and eval mode * FX feature extraction - Tweaks and small bug fixes * FX feature extraction - add tests * move to feature_extraction.py, add LeafModuleAwareTracer, add docs * Tweaks to docs * addressing latest round of feedback * undo line spacing changes * change type hints in docstrings * fix sphinx indentation * expose feature_extraction * add maskrcnn example * add api refernce subheading * address latest review notes, refactor names, fix regex, cosmetics * Add back efficientnet to models * fix tests for effnet * fix linting issue * fix test tracer kwargs Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
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>
-
- 02 Sep, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Adding randaugment implementation * Refactoring. * Adding num_magnitude_bins. * Adding FIXME.
-
- 27 Aug, 2021 1 commit
-
-
Vasilis Vryniotis authored
[ghstack-poisoned] Co-authored-by:Bert Maher <bertrand@fb.com>
-
- 26 Aug, 2021 2 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
* Adding code skeleton * Adding MBConvConfig. * Extend SqueezeExcitation to support custom min_value and activation. * Implement MBConv. * Replace stochastic_depth with operator. * Adding the rest of the EfficientNet implementation * Update torchvision/models/efficientnet.py * Replacing 1st activation of SE with SiLU. * Adding efficientnet_b3. * Replace mobilenetv3 assets with custom. * Switch to standard sigmoid and reconfiguring BN. * Reconfiguration of efficientnet. * Add repr * Add weights. * Update weights. * Adding B5-B7 weights. * Update docs and hubconf. * Fix doc link. * Fix typo on comment.
-
- 23 Aug, 2021 1 commit
-
-
Nikita Shulga authored
-
- 20 Aug, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Adding operator. * Adding tests * switching order of `p` and `mode`. * Remove seed setting. * Replace stats import with pytest.importorskip. * Fix doc * Apply suggestions from code review Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> * Fixing indentation. * Adding operator in the documentation. * Fixing lint Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 19 Aug, 2021 1 commit
-
-
Philip Meier authored
-
- 18 Aug, 2021 1 commit
-
-
Alex Lin authored
* Replace in test_datasets* * Replace in test_image.py * Replace in test_transforms_tensor.py * Replace in test_internet.py and test_io.py * get_list_of_videos is util function still use get_tmp_dir * Fix get_list_of_videos siginiture * Add get_tmp_dir import * Modify test_datasets_video_utils.py for test to pass * Fix indentation * Replace get_tmp_dir in util functions in test_dataset_sampler.py * Replace get_tmp_dir in util functions in test_dataset_video_utils.py * Move get_tmp_dir() to datasets_utils.py and refactor * Fix pylint, indentation and imports * import shutil to common_util.py * Fix function signiture * Remove get_list_of_videos under context manager * Move get_list_of_videos to common_utils.py * Move get_tmp_dir() back to common_utils.py * Fix pylint and imports Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
- 17 Aug, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Skip the test if the failure is due to a connection error. * Add todo.
-
- 16 Aug, 2021 1 commit
-
-
Nicolas Hug authored
-
- 12 Aug, 2021 1 commit
-
-
Vincent Moens authored
* interlaced png images Co-authored-by:Vincent Moens <vmoens@fb.com>
-
- 06 Aug, 2021 2 commits
-
-
Vincent Moens authored
Co-authored-by:Vincent Moens <vmoens@fb.com>
-
Vincent Moens authored
using nn.init.trunc_normal_ instead of scipy.stats.truncnorm Co-authored-by:Vincent Moens <vmoens@fb.com>
-
- 04 Aug, 2021 2 commits
-
-
vfdev authored
* WIP on backward op interpolation with AA * Removed cuda tests and reformat cpp code * Fixed clang wrong formatting * Added channels last test case * Added CUDA support for backward pass, interpolation with AA * Removed unused buffers Co-authored-by:vfdev-5 <vfdev-5@gmail.com>
-
Nicolas Hug authored
-
- 02 Aug, 2021 1 commit
-
-
Vincent Moens authored
* test_video_reader pytest refactoring * pytest refactoring of test_videoapi.py * test_video_reader pytest refactoring * pytest refactoring of test_videoapi.py * using pytest.approx for test_video_reader.py * using pytest.approx for test_videoapi.py * Fixing minor comments * linting fixes * minor comments Co-authored-by:Vincent Moens <vmoens@fb.com>
-
- 28 Jul, 2021 2 commits
-
-
Yiwen Song authored
* Port test_datasets.py to use pytest * A better replacement of self.assertSequenceEqual * Migrate from equality check to identity check
-
vfdev authored
* WIP on backward op interpolation with AA * Removed cuda tests and reformat cpp code * Fixed clang wrong formatting * Added channels last test case Co-authored-by:
vfdev-5 <vfdev-5@gmail.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 27 Jul, 2021 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:Edward Z. Yang <ezyang@fb.com>
-
- 26 Jul, 2021 1 commit
-
-
Nicolas Hug authored
-
- 25 Jul, 2021 1 commit
-
-
Prabhat Roy authored
-