- 25 Oct, 2022 1 commit
-
-
Philip Meier authored
* unwrap features in dispatchers * cleanup * align erase / five_crop / ten_crop with other dispatchers
-
- 24 Oct, 2022 9 commits
-
-
Vasilis Vryniotis authored
* Cleaning up the size dimension methods. * Change error messages.
-
Philip Meier authored
-
Philip Meier authored
-
Vasilis Vryniotis authored
* Avoid GPU-CPU sync on Normalize * Further optimizations. * Apply code review changes. * Fixing JIT. * linter fix
-
Philip Meier authored
* improve performance of invert_image_tensor * cleanup * lint * more cleanup * use new invert in solarize
-
Vasilis Vryniotis authored
* Speed improvement for adjust gamma op * Adding comments and optimizations. * fixing typo * Remove unnecessary channel check.
-
vfdev authored
* WIP * Updated rgb2hsv and a bit of hsv2rgb * Fix issue with batch of images * Few improvements * hsv2rgb improvements * PR review * another update * Fix cuda issue with empty images torch.aminmax is failing Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
vfdev authored
* WIP * Updates to speed up autocontrast Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Vasilis Vryniotis authored
* Adding temporal sampling kernel and dispatcher. * Adding the UniformTemporalSubsample class. * Add it on init * Adding tests. * Addressing comments. * Reverting proposal as it led to different results. * add more tests for uniform_temporal_subsample * cleanup * fix logic * fix logic * make test more strict * lint * Update torchvision/prototype/transforms/functional/_temporal.py * remove pytorchvideo again per request Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
- 21 Oct, 2022 10 commits
-
-
Philip Meier authored
* add KernelInfo * split dtype and device consistency tests * add proper support for video * fix tests and add DispatcherInfo * add aliases * cleanup * fix typo
-
Joao Gomes authored
[FBcode->GH]
-
Philip Meier authored
* remove copy from convert_color_space * remove copy from convert_format_bounding_box * remove .to_* methods from features * remove unnecessary clones * add perf todos * refactor convert_color_space * lint * remove another clone * and another clone * remove a missed copy
-
Vasilis Vryniotis authored
* Add PermuteDimensions and TransposeDimensions transforms * Strip Subclass info. * Apply changes from code review.
-
Philip Meier authored
* unwrap features before calling the kernels * revert double unwrapping * cleanup * remove debug raise * more cleanup
-
vfdev authored
* [proto][WIP] Enable GPU tests on prototype * Update prototype-tests.yml * tests on gpu as separate file * Removed matrix setup * Update prototype-tests-gpu.yml * Update prototype-tests-gpu.yml * Added --gpus=all flag * Added xfail for cuda vs cpu tolerance issue * Update prototype-tests-gpu.yml
-
Philip Meier authored
* perf improvements for equalize Co-authored-by:
lezcano <lezcano-93@hotmail.com> * improve reference tests * add extensive comments and minor fixes to the kernel * improve comments Co-authored-by:
lezcano <lezcano-93@hotmail.com>
-
vfdev authored
* WIP * _blend optim v1 * _blend and color ops optims: v2 * updated a/r tol and configs to make tests pass * Loose a/r tolerance in AA tests * Use custom rgb_to_grayscale * Renamed img -> image * nit code update * PR review * adjust_contrast convert to float32 earlier * Revert "adjust_contrast convert to float32 earlier" This reverts commit a82cf8c739d02acd9868ebee4b8b99d101c3e45e.
-
Joao Gomes authored
* add tensor as optional param * add init from memory * fix bug * fix bug * first working version * apply formatting and add tests * simplify tests * fix tests * fix wrong variable name * add path as optional parameter * add src as optional * address pr comments * Fix warning messages * address pr comments * make tests stricter * Revert "make tests stricter" This reverts commit 6c92e94e8372f381c9496c9f885c2c71b6a4356b.
-
- 20 Oct, 2022 2 commits
-
-
Omkar Salpekar authored
* [Nova] Migrate Linux CPU job to Generic Job * branch ref for composite action job * move checkout step to separate job * added runs-on * nit fixes * no need to run conda sheel script thing * Channel is set inside the script * add remaining env vars * nit env var fix * cleanup * simplify unneeded jobs * name of the conda env should be the path * remove main ref to use PR
-
Philip Meier authored
* improve perf on convert_image_dtype and add tests * add reference tests * use bitshifts for int to int * revert bitshifts for int to int upscale * fix warning ignore
-
- 19 Oct, 2022 2 commits
-
-
YosuaMichael authored
-
Philip Meier authored
* pin pyav to <10 * pin av in GHA workflows as well * also pin in M1 workflow
-
- 18 Oct, 2022 3 commits
-
-
Philip Meier authored
* fix, ignore, or assert warnings for consistency tests * fix, ignore, or assert warnings for kernel infos * fix to_image_tensor for numpy inputs * make image from numpy contiguous * fix test
-
Philip Meier authored
-
YosuaMichael authored
* Add raft_stereo weights * Update the metrics layout
-
- 17 Oct, 2022 3 commits
-
-
Omkar Salpekar authored
* [Nova][WIP] Add Linux CPU Unittests for Torchvision * use conda-builder image since conda installation is needed * install torch dep with conda instead * use circleCI command to run tests * larger instance to avoid OOM issues * proper syntax for self-hosted runners * 4xlarge instance * 8xlarge * 12xlarge * use setup-miniconda job * add back PATH change to help setup py detect conda * run conda shell script * install other deps up front * git config and undo path change * revert to local conda install * conda-builder image * support for whole python version matrix * clean up the conda env once we are done with the job
-
vfdev authored
* Use softmax in _get_gaussian_kernel1d * Revert "Use softmax in _get_gaussian_kernel1d" This reverts commit eb8fba36302d2da9e06e6f40afaaf901b276a771. * Code update * Relaxed tolerance in consistency tests for GaussianBlur and ElasticTransform * Code review updates * Update test_prototype_transforms_consistency.py
-
vfdev authored
* [proto] Reduce number of calls of __torch_function__ * Use DisableTorchFunction and super * Use self._tensor * Fixes mypy and color space handling * revert Image.new_like * WIP * Perf opt with ref to tensor and properties * Removed requires_grad property * Use _tensor ref * Revert "Use _tensor ref" This reverts commit 38f8e21242830fed46ddf31287edb67c1abd124a. * Update torchvision/prototype/features/_feature.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
- 15 Oct, 2022 1 commit
-
-
Philip Meier authored
-
- 14 Oct, 2022 6 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
* Fix `ToDtype` to avoid errors when a type is not defined. * Nit `(features.is_simple_tensor, features._Feature)` to `(Tensor,)` * Fixing linter * Adding comment. * Switch back to indexing. Python's default dict seems to have a nasty behaviour.
-
Philip Meier authored
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
* Extend RandomShortestSize to support Video specific flavour of the augmentation * Adding a test. * Apply changes from code review
-
Philip Meier authored
-
- 13 Oct, 2022 3 commits
-
-
Philip Meier authored
-
Philip Meier authored
* introduce _check method for type checks on prototype transforms * cleanup * Update torchvision/prototype/transforms/_geometry.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * introduce _check on new transforms * _check -> _check_inputs * always check inputs in _RandomApplyTransform Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
* introduce nearest-exact interpolation * update prototype tests * update stable tests
-