- 25 Jul, 2022 1 commit
-
-
Abhijit Deo authored
* intial structure * fixed types of few variables * remove the commented code * list -> List * encode method will take input as tensors instead of list of tensor Co-authored-by:Joao Gomes <jdsgomes@fb.com>
-
- 22 Jul, 2022 3 commits
-
-
Nicolas Hug authored
* Update git-blame-ignore-revs following new ufmt version * Un-do ufmt version changed, got mixed up
-
Philip Meier authored
* upgrade usort to * Also update black * Actually use 1.0.2 * Apply pre-commit Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
Nicolas Hug authored
-
- 21 Jul, 2022 2 commits
-
-
Mayanand authored
Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
Zachariah Carmichael authored
-
- 15 Jul, 2022 1 commit
-
-
Alexander Jipa authored
Co-authored-by:Alexander Jipa <azzhipa@amazon.com>
-
- 14 Jul, 2022 2 commits
-
-
Local State authored
* fix inplace mutation * Different attn shouldn't share the same attribute * a simpler solution Co-authored-by:YosuaMichael <yosuamichaelm@gmail.com>
-
Ponku authored
* Moved pfm file reading into dataset utils * Made _read_pfm private. Fixed doc format issues.
-
- 11 Jul, 2022 1 commit
-
-
vfdev authored
* Another attempt to add transforms * Fixed padding type hint * Fixed fill arg for pad and rotate, affine * code formatting and type hints for affine transformation * Fixed flake8 * Updated tests to save and load transforms * Fixed code formatting issue * Fixed jit loading issue * Restored fill default value to None Updated code according to the review * Added tests for rotation, affine and zoom transforms * Put back commented code * Random erase bypass boxes and masks Go back with if-return/elif-return/else-return * Fixed acceptable and non-acceptable types for Cutmix/Mixup * Updated conditions for _BaseMixupCutmix
-
- 08 Jul, 2022 3 commits
-
-
YosuaMichael authored
-
YosuaMichael authored
* Make ConvNormActivation function accept tuple for kernel_size, stride, padding, and dilation * Fix the method to get the conv_dim * Simplify if-elif logic
-
vfdev authored
* Updated tests to save and load transforms * Fixed code formatting issue
-
- 07 Jul, 2022 1 commit
-
-
YosuaMichael authored
* Add ensembled video accuracy on video reference script * Change the parser func to be similar with classification reference * Fix typo type->dtype * Use custom kinetics * Fix dataset to not getting start_pts * Change dataset name, and put video_idx at the back * Ufmt format * Use functional softmax, updating meta and use it to overwrite eval param * Fix typo * Put the eval parameters on the docs for now * Change meta for video resnet to use frame-rate 15, also change wording on docs
-
- 06 Jul, 2022 1 commit
-
-
vfdev authored
* Added mid-level ops and feature-based ops * Fixing deadlock in dataloader with circular imports * Added non-scalar fill support workaround for pad * Removed comments * int/float support for fill in pad op * Updated type hints and removed bypass option from mid-level methods * Minor nit fixes
-
- 05 Jul, 2022 4 commits
-
-
Abhijit Deo authored
* basic structure * added constrains * fixed errors * thanks to vadim! * addressing the comments and added docstrign * Apply suggestions from code review Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Vasilis Vryniotis authored
* Make `_log_api_usage_once` work for overwritten classes * Change module prefix to `torchvision.internal`
-
vcarpani authored
* Refactor setup.py to build only wanted extensions. * Improve visual feedback for libpng support in setup.py. * Improve printing of extensions finding in setup.py. * Fix linter errors. * Apply suggestions from code review Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Vasilis Vryniotis authored
* Update the dataset cache to factor in parameters from the args. * Fix linter
-
- 01 Jul, 2022 3 commits
-
-
Vasilis Vryniotis authored
-
Nikita Shulga authored
To make project https://peps.python.org/pep-0517/ compliant Solves https://github.com/pytorch/pytorch/issues/80745
-
vfdev authored
-
- 29 Jun, 2022 3 commits
-
-
YosuaMichael authored
-
Vasilis Vryniotis authored
-
YosuaMichael authored
-
- 27 Jun, 2022 1 commit
-
-
YosuaMichael authored
-
- 24 Jun, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Adding MViT v2 architecture (#6105) * Adding mvitv2 architecture * Fixing memory issues on tests and minor refactorings. * Adding input validation * Adding docs and minor refactoring * Add `min_temporal_size` in the supported meta-data. * Switch Tuple[int, int, int] with List[int] to support easier the 2D case * Adding more docs and references * Change naming conventions of classes to follow the same pattern as MobileNetV3 * Fix test breakage. * Update todos * Performance optimizations. * Add support to MViT v1 (#6179) * Switch implementation to v1 variant. * Fix docs * Adding back a v2 pseudovariant * Changing the way the network are configured. * Temporarily removing v2 * Adding weights. * Expand _squeeze/_unsqueeze to support arbitrary dims. * Update references script. * Fix tests. * Fixing frames and preprocessing. * Fix std/mean values in transforms. * Add permanent Dropout and update the weights. * Update accuracies. * Fix documentation * Remove unnecessary expected file. * Skip big model test * Rewrite the configuration logic to reduce LOC. * Fix mypy
-
- 23 Jun, 2022 6 commits
-
-
vcarpani authored
* Add flag to ignore ffmpeg in python build. * Update setup.py to avoid potential collisions with other projects that are using FFMPEG Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
YosuaMichael authored
-
vfdev authored
* Added base tests for rotate_image_tensor * Updated resize_image_tensor API and tests and fixed a bug with max_size * Refactored and modified private api for resize functional op * Fixed failures * More updates * Updated proto functional op: resize_image_* * Added max_size arg to resize_bounding_box and updated basic tests * Update functional.py * Reverted fill/center order for rotate Other nits
-
vfdev authored
* Refactored and modified private api for resize functional op * Fixed failures * More updates * Fixed flake8
-
vfdev authored
-
YosuaMichael authored
* Add rough raft-stereo implementation on prototype/models * Add standard raft_stereo builder, and modify context_encoder to be more similar with original implementation * Follow original implementation on pre-convolve context * Fix to make sure we can load original implementation weight and got same output * reusing component from raft * Make the raft_stereo_fast able to load original weight implementation * Format with ufmt and update some comment * Use raft FlowHead * clean up comments * Remove unnecessary import and use ufmt format * Add __all__ and more docs for RaftStereo class * Only accept param and not module for raft stereo builder * Cleanup comment * Adding typing to raft_stereo * Update some of raft code and reuse on raft stereo * Use bool instead of int * Make standard raft_stereo model jit scriptable * Make the function _make_out_layer using boolean with_block and init the block_layer with identity * Separate corr_block into two modules for pyramid and building corr features * Use tuple if input is not variable size, also remove default value if using List * Format using ufmt and update ConvGRU to not inherit from raft in order to satisfy both jit script and mypy * Change RaftStereo docs input type * Ufmt format raft * revert back convgru to see mypy errors, add test for jit and fx, make the model fx compatible * ufmt format * Specify device for new tensor, dont init module then overwrite and put if-else instead * Ignore mypy problem on override, put back num_iters on forward * Revert some effort to make it fx compatible but unnecessary now * refactor code and remove num_iters from RaftStereo constructor * Change to raft_stereo_realtime, and specify device directly for tensor creation * Add description for raft_stereo_realtime * Update the test for raft_stereo * Fix raft stereo prototype test to properly test jit script * Ufmt format * Test against expected file, change name from raft_stereo to raft_stereo_builder to prevent import error * Revert __init__.py changes * Add default value for non-list param on model builder * Add checking on out_with_block length, add more docs on the encoder * Use base instead of basic since it is more commonly used * rename expect file to base as well * rename on test * Revert the revert of __init__.py, also revert the adding default value to _raft_stereo to follow the standard pattern * ufmt format __init__.py
-
- 22 Jun, 2022 1 commit
-
-
Nicolas Hug authored
Summary: fixes two sporadic issues from missing attributes: - breaking circular imports - submodule not being imported explicitly Reviewed By: ehhuang Differential Revision: D37071652 fbshipit-source-id: 0680f098384b0fd21076339750e9d1a96186ede3 Co-authored-by:Edward Wang (EcoF) <hack@fb.com>
-
- 21 Jun, 2022 1 commit
-
-
Vasilis Vryniotis authored
-
- 20 Jun, 2022 1 commit
-
-
Andrey Talman authored
-
- 16 Jun, 2022 2 commits
-
-
Nicolas Hug authored
-
Vasilis Vryniotis authored
-
- 15 Jun, 2022 2 commits
-
-
Andrey Talman authored
-
Lezwon Castelino authored
* added simple POC * added jitter and crop options * added references * moved simplecopypaste to detection module * working POC for simple copy paste in detection * added comments * remove transforms from class updated the labels added gaussian blur * removed loop for mask calculation * replaced Gaussian blur with functional api * added inplace operations * added changes to accept tuples instead of tensors * - make copy paste functional - make only one copy of batch and target * add inplace support within copy paste functional * Updated code for copy-paste transform * Fixed code formatting * [skip ci] removed manual thresholding * Replaced cropping by resizing data to paste * Removed inplace arg (as useless) and put a check on iscrowd target * code-formatting * Updated copypaste op to make it torch scriptable Added fallbacks to support LSJ * Fixed flake8 * Updates according to the review Co-authored-by:
vfdev-5 <vfdev.5@gmail.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-