- 03 Mar, 2022 2 commits
-
-
Drishti Bhasin authored
* add eurosat * revert formatting * port test and make style changes * add eurosat to __init__ * fix pathlib error * create dataset zipfile and revert pre commit changes * remove unecessary variable in resources * revert auto formatter changes and modify ufmt version * revert change to contributing guide Co-authored-by:
Dbhasin1 <drishti_b@me.iitr.c.in> Co-authored-by:
Nicolas Hug <nicolashug@fb.com>
-
Drishti Bhasin authored
* add country211 * remove unused import * map val to valid and use path comparator * remove unused import * resolve keyerror * map split names in dataset mock Co-authored-by:
Dbhasin1 <drishti_b@me.iitr.c.in> Co-authored-by:
Nicolas Hug <nicolashug@fb.com>
-
- 02 Mar, 2022 2 commits
-
-
Philip Meier authored
* improve StrEnum * use StrEnum for model weights * fix test * migrate StrEnum to main area
-
Vasilis Vryniotis authored
* Extend the EfficientNet class to support v1 and v2. * Refactor config/builder methods and add prototype builders * Refactoring weight info. * Update dropouts based on TF config ref * Update BN eps on TF base_config * Use Conv2dNormActivation. * Adding pre-trained weights for EfficientNetV2-s * Add Medium and Large weights * Update stats with single batch run. * Add accuracies in the docs.
-
- 01 Mar, 2022 4 commits
-
-
Prabhat Roy authored
-
Prabhat Roy authored
* Improve test_video_reader * Fix linter error
-
Prabhat Roy authored
-
Philip Meier authored
* expand prototype functional scriptability tests * remove obsolete skips
-
- 28 Feb, 2022 2 commits
-
-
Philip Meier authored
* add prototype AugMix transform * cleanup * refactor auto augment subclasses to only trnasform a single image * address review comments
-
Vasilis Vryniotis authored
* Replace get_image_size/num_channels with get_image_dims * Reduce verbosity * Fix JIT-scriptability * Refactoring * More refactoring * Replace all _FP/_FT direct calls. * Remove usages of get_image_size and get_image_num_channels from code-base. * Fix JIT issues * Adding missing assertion.
-
- 27 Feb, 2022 1 commit
-
-
Hu Ye authored
* Create dropblock.py * add dropblock2d * fix pylint * refactor dropblock * add dropblock * Rename dropblock.py to drop_block.py * fix pylint * add dropblock * add dropblock3d * add drop_block3d * add dropblock * Update drop_block.py * Update torchvision/ops/drop_block.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/ops/drop_block.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/ops/drop_block.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/ops/drop_block.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update drop_block.py * Update drop_block.py * import torch.fx * fix lint * fix lint * Update drop_block.py * improve dropblock * add dropblock * refactor dropblock * fix doc * remove the limitation of block_size * Update torchvision/ops/drop_block.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * fix lint * fix lint * add dropblock * Fix linter * add dropblock random check * reduce test time * Update test_ops.py * speed the dropblock test * fix lint Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 25 Feb, 2022 2 commits
-
-
Prabhat Roy authored
-
Philip Meier authored
* add prototype transforms that don't need dispatchers * cleanup * remove legacy_transform decorator * remove legacy classes * remove explicit param passing * streamline extra_repr * remove obsolete ._supports() method * cleanup * remove Query * cleanup * fix tests * kernels -> functional * move image size and num channels extraction to functional * extend legacy function to extract image size and num channels * implement dispatching for auto augment * fix auto augment dispatch * revert some naming changes * remove ability to pass params to autoaugment * fix legacy image size extraction * align prototype.transforms.functional with transforms.functional * cleanup * fix image size and channels extraction * fix affine and rotate * revert image size to (width, height) * Minor corrections Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 24 Feb, 2022 1 commit
-
-
Nikita Shulga authored
Also, remove reference to conda-forge, all CUDA toolchain should be available from NVIDIA channel Install h5py from pip on Windows and skip failing gaussian_blur tests if Win+CUDA11.3 is used
-
- 18 Feb, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Adding basic augmix implementation. * Finish the implementation. * Add tests and documentation. * Fix tests. * Simplify code. * Speed optimizations. * Per image weights instead of per batch. * Fix tests. * Update torchvision/transforms/autoaugment.py Co-authored-by:
vfdev <vfdev.5@gmail.com> * Changing the default severity value to get by default the same strength as RandAugment. Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
- 16 Feb, 2022 1 commit
-
-
Philip Meier authored
* add prototype transforms that use the prototype dispatchers Conflicts: torchvision/prototype/transforms/__init__.py * simplify * add logger * remove legacy classes Conflicts: torchvision/prototype/transforms/_augment.py torchvision/prototype/transforms/_auto_augment.py torchvision/prototype/transforms/_geometry.py * make get_params private * remove randbool method * remove AutoAugmentDispatcher * add high level kernels for meta conversion * remove transforms meta abstraction from auto augment transforms * appease mypy * add smoke tests for transforms * remove Query object * remove extra_repr helper * fix tests * appease mypy * revert some changes on the kernel tests * fix dispatcher annotations * remove float cast for torch.rand * add helper to query image * fix imports * address auto augment comments * cleanup
-
- 15 Feb, 2022 2 commits
-
-
Nicolas Hug authored
* Fix resize when size == small_edge_size and max_size isn't None * Better test name
-
vfdev authored
* Removed custom ops for interp with AA * Fixed umft issues Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 11 Feb, 2022 1 commit
-
-
Philip Meier authored
* revamp prototype features (#5283) * remove decoding from prototype datasets (#5287) * remove decoder from prototype datasets * remove unused imports * cleanup * fix readme * use OneHotLabel in SEMEION * improve voc implementation * revert unrelated changes * fix semeion mock data * fix pcam * readd functional transforms API to prototype (#5295) * readd functional transforms * cleanup * add missing imports * remove __torch_function__ dispatch * readd repr * readd empty line * add test for scriptability * remove function copy * change import from functional tensor transforms to just functional * fix import * fix test * fix prototype features and functional transforms after review (#5377) * fix prototype functional transforms after review * address features review * make mypy more strict on prototype features * make mypy more strict for prototype transforms * fix annotation * fix kernel tests * add automatic feature type dispatch to functional transforms (#5323) * add auto dispatch * fix missing arguments error message * remove pil kernel for erase * automate feature specific parameter detection * fix typos * cleanup dispatcher call * remove __torch_function__ from transform dispatch * remove auto-generation * revert unrelated changes * remove implements decorator * change register parameter order * change order of transforms for readability * add documentation for __torch_function__ * fix mypy * inline check for support * refactor kernel registering process * refactor dispatch to be a regular decorator * split kernels and dispatchers * remove sentinels * replace pass with ... * appease mypy * make single kernel dispatchers more concise * make dispatcher signatures more generic * make kernel checking more strict * revert doc changes * address Franciscos comments * remove inplace * rename kernel test module * fix inplace * remove special casing for pil and vanilla tensors * address comments * update docs * cleanup features / transforms feature branch (#5406) * mark candidates for removal * align signature of resize_bounding_box with corresponding image kernel * fix documentation of Feature * remove interpolation mode and antialias option from resize_segmentation_mask * remove or privatize functionality in features / datasets / transforms
-
- 09 Feb, 2022 1 commit
-
-
Joao Gomes authored
* Consolidating __repr__ strings Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 08 Feb, 2022 4 commits
-
-
vfdev authored
* Added ref tests for shear X/Y * Added PIL tests and fixed tan(level) difference * Updated tests * Fixed reparam for shear X/Y in autoaugment * Fixed arc_level -> level as atan is applied internally * Fixed links
-
HeungwooLee authored
* Refactor BoxOps tests to use parameterize * Refactor BoxOps tests to use parameterize * Refactor BoxOps to use parameterize, addressed comments from PR#5380 * Refactor BoxOps to use parameterize, addressed minor styling comments from PR#5380 * Refactor BoxOps to use parameterize, addressed typing errorsfrom PR#5380 * Refactor BoxOps to use parameterize, addressed minor naming comments for PR#5380
-
Philip Meier authored
* properly deprecate legacy implementation * cleanup * use warning over deprecation directive * remove patch version * fix link in Kinetics docstring * Some more * fix affine functional tests Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
Nicolas Hug authored
* Remove APIs that were deprecated before 0.8 * More stuff * Some more * oops
-
- 03 Feb, 2022 1 commit
-
-
Aditya Oke authored
* Add random colors * Update error message, pretty the code * Update edge cases * Change implementation to tuples * Fix bugs * Add tests * Reuse palette * small rename fix * Update tests and code * Simplify code * ufmt * fixed colors -> random colors in docstring * Actually simplify further * Silence mypy. Twice. lol. Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 02 Feb, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Add is_qat support using a method getter * Switch to an internal _fuse_modules * Fix linter. * Pass is_qat=False on PTQ * Fix bug on ra_sampler flag. * Set is_qat=True for QAT
-
- 01 Feb, 2022 2 commits
-
-
Prabhat Roy authored
* Updated gpu decoder test to use parametrize * Remove list comprehension
-
Vasilis Vryniotis authored
* Refactor model builder * Add 3 more convnext variants. * Adding weights for convnext_small. * Fix minor bug. * Fix number of parameters for small model. * Adding weights for the base variant. * Adding weights for the large variant. * Simplify LayerNorm2d implementation. * Optimize speed of CNBlock. * Repackage weights.
-
- 29 Jan, 2022 1 commit
-
-
Yiwen Song authored
* Adding conv_stem support * fix lint * bug fix * address comments * fix after merge * adding back checking lines * fix failing tests * fix iignore * add unittest & address comments * fix memory issue * address comments
-
- 28 Jan, 2022 1 commit
-
-
Nicolas Hug authored
-
- 27 Jan, 2022 3 commits
-
-
Nicolas Hug authored
* Some Qs * Some modifications * don't need _loader in __init__ * list_names -> list_datasets * Update torchvision/prototype/datasets/utils/_resource.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Remove unsued import * fix tests * Some missing renames Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
Nicolas Hug authored
* Add PCAM dataset to prototype area * use BytesIO instead of writing file to disk * Apply suggestions from code review Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * remove noqa * typos * Use _Resource namedtuple * Add h5py to unittest_prototype job * use .item() on target * Forgot to call regenerate.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
Aditya Oke authored
* Start stuff * Start adding some implementation * Add implementation * Use torch for colorwheel * Add simple test * Fix small numpy rename * Adapt the changes * Fix stuff * Add suggestions * Minor fixes for float * Remove idx logic * Simplify * Fix test * Update code and add test * Add expected flow asset * Fix expected flow path * Doc nits Co-authored-by:
Nicolas Hug <nicolashug@fb.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 26 Jan, 2022 2 commits
-
-
Hu Ye authored
* fix bug when the target is empty * Add unittest for empty instance training Co-authored-by:
Zhiqiang Wang <zhiqwang@foxmail.com> Co-authored-by:
Joao Gomes <joaopsgomes@gmail.com>
-
Bruno Korbar authored
* expect the CI to fail * retrigger tests * rewriting to close the containers and avoid potential clashes * addressing Prabhat's commetns Co-authored-by:
Bruno Korbar <bkorbar@quansight.com> Co-authored-by:
Prabhat Roy <prabhatroy@fb.com>
-
- 25 Jan, 2022 2 commits
-
-
Piyush Singh authored
* replace assert with valueerror * pytest should raise ValueError not AssertionError * minor edit * raise assert changed to raise valueerror in test * Update torchvision/models/detection/backbone_utils.py Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> * Update torchvision/models/detection/backbone_utils.py Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> * minor edits * minor edits * added one test * added another test * added another test * test for mobilenet * ufmt formatting * cant have unused variables * suggested changes * minor edit * corrected bug pointed out by datumbox * corrected bug pointed out by datumbox * bug correction and shorten msg * ufmt stuff * resolved last comment Co-authored-by:
Abhijit Deo <72816663+abhi-glitchhg@users.noreply.github.com> Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Nicolas Hug authored
* use fixture for dataset root in tests * fix home dir generation * remove caching Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
- 24 Jan, 2022 3 commits
-
-
vfdev authored
* Added center option to F.affine and RandomAffine ops * Updates according to the review
-
Nicolas Hug authored
-
Prabhat Roy authored
* Add seek in GPU decoder * Merge the two tests * Refine unit test
-