- 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 6 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
-
Prabhat Roy authored
-
Nicolas Hug authored
Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
Yoshitomo Matsubara authored
* renamed ImageNet weights * renamed COCO weights * renamed COCO with VOC labels weights * renamed Kinetics 400 weights * rename default with DEFAULT * update test * fix typos * update test * update test * update test * indent as w was weight_enum * revert * Adding back the capitalization test Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 23 Jan, 2022 1 commit
-
-
Vasilis Vryniotis authored
-
- 21 Jan, 2022 1 commit
-
-
Hu Ye authored
* add fcos * update fcos * add giou_loss * add BoxLinearCoder for FCOS * add full code for FCOS * add giou loss * add fcos * add __all__ * Fixing lint * Fixing lint in giou_loss.py * Add typing annotation to fcos * Add trained checkpoints * Use partial to replace lambda * Minor fixes to docstrings * Apply ufmt format * Fixing docstrings * Fixing jit scripting * Minor fixes to docstrings * Fixing jit scripting * Ignore mypy in fcos * Fixing trained checkpoints * Fixing unit-test of jit script * Fixing docstrings * Add test/expect/ModelTester.test_fcos_resnet50_fpn_expect.pkl * Fixing test_detection_model_trainable_backbone_layers * Update test_fcos_resnet50_fpn_expect.pkl * rename stride to box size * remove TODO and fix some typo * merge some code for better * impove the comments * remove decode and encode of BoxLinearCoder * remove some unnecessary hints * use the default value in detectron2. * update doc * Add unittest for BoxLinearCoder * Add types in FCOS * Add docstring for BoxLinearCoder * Minor fix for the docstring * update doc * Update fcos_resnet50_fpn_coco pretained weights url * Update torchvision/models/detection/fcos.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/models/detection/fcos.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/models/detection/fcos.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/models/detection/fcos.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Add FCOS model documentation * Fix typo in FCOS documentation * Add fcos to the prototype builder * Capitalize COCO_V1 * Fix params of fcos * fix bug for partial * Fixing docs indentation * Fixing docs format in giou_loss * Adopt Reference for GIoU Loss * Rename giou_loss to generalized_box_iou_loss * remove overwrite_eps * Update AP test values * Minor fixes for the docs * Minor fixes for the docs * Update torchvision/models/detection/fcos.py Co-authored-by:
Zhiqiang Wang <zhiqwang@foxmail.com> * Update torchvision/prototype/models/detection/fcos.py Co-authored-by:
Zhiqiang Wang <zhiqwang@foxmail.com> Co-authored-by:
zhiqiang <zhiqwang@foxmail.com> Co-authored-by:
Joao Gomes <jdsgomes@fb.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Joao Gomes <joaopsgomes@gmail.com>
-
- 20 Jan, 2022 8 commits
-
-
Vasilis Vryniotis authored
* Adding CNBlock and skeleton architecture * Completed implementation. * Adding model in prototypes. * Add test and minor refactor for JIT. * Fix mypy. * Fixing naming conventions. * Fixing tests. * Fix stochastic depth percentages. * Adding stochastic depth to tiny variant. * Minor refactoring and adding comments. * Adding weights. * Update default weights. * Fix transforms issue * Move convnext to prototype. * linter fix * fix docs * Addressing code review comments.
-
Philip Meier authored
* add SVHN prototype dataset * add test
-
Philip Meier authored
* refactor prototype dataset tests to use public API for loading * add explanation * use loop alternative
-
Philip Meier authored
* allow single extension as str in make_dataset * remove test class * remove regex * revert collection to tuple * cleanup
-
Fedor authored
* Adding min_size as a required field. * Adding min_size to classification models (quantized and not) * Adding min_size to video models meta. * Moving min_size to _COMMON_META * Fixing extra line Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Nicolas Hug authored
* Change default of download for Food101 and DTD * Set download default to False and put it at the end * Keep stuff private * GTSRB: train -> split. Also use pathlib * mypy * Remove split and partition for SUN397 * mypy * mypy * move download param for SST2 * Use make_dataset in SST2 * Use a base URL for GTSRB * Let's make this code more complictaed than it needs to be because why not
-
Philip Meier authored
* improve error message for prototype datasets without options * remove early exit * add test
-
Joao Gomes authored
* Adding multiweight support for shufflenetv2 prototype models * Revert "Adding multiweight support for shufflenetv2 prototype models" This reverts commit 31fadbee7d1a65cd73ae43dfd4ac6e97e7ca7b01. * Adding multiweight support for shufflenetv2 prototype models * Revert "Adding multiweight support for shufflenetv2 prototype models" This reverts commit 4e3d900f796c1e3e667312087e77956ca4a4c017. * Add RenderedSST2 dataset * Address PR comments * Fix bug in dataset verification Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
- 19 Jan, 2022 2 commits
-
-
Yiwen Song authored
* adding vit_h_14 * prototype and docs * bug fix * adding curl check
-
Philip Meier authored
* fix and add test for sequence_to_str * remove manual ids
-