- 09 Jun, 2022 4 commits
-
-
Nicolas Hug authored
* Revert "Indicate Celeba download parameter is deprecated and will be removed (#6059)" This reverts commit 49496c4f. * Revert "Deactivate CelebA download (#6052)" This reverts commit ac56f52e.
-
Andrey Talman authored
* Adding tagged builds * Testing * Testing * Testing * Testing * Adding conda builds
-
Nikita Shulga authored
As @vfdev-5 proposed in https://github.com/pytorch/vision/issues/6138#issuecomment-1150398081 Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
Nikita Shulga authored
By passing `--pre` option to `pip install`, otherwise torchvision were always tested against last PyTorch release
-
- 08 Jun, 2022 2 commits
-
-
Nicolas Hug authored
* [quant][core][better-engineering] Rename files in quantized directory to conform with non-quantized countertpart filenames (#77037) Summary: X-link: https://github.com/pytorch/pytorch/pull/77037 Names of analogous files in quantized directory (previously snake case) were inconsistent with their non-quantized filename counterparts (pascal case). This is the first of a series of PRs that changes all files in quantized (and sub-directories) dir to have pascal case. `aten/src/ATen/native/quantized/qconv_unpack.cpp` has not been renamed yet because (for reasons currently unknown) after making the name change, `import torch` produces the below error (`qlinear_unpack.cpp` renaming also seems to fail some phabricator CI tests for similar reasons). We suspect that these may be undefined errors and will revisit naming these files in a future PR. ``` terminate called after throwing an instance of 'c10::Error' what(): Type c10::intrusive_ptr<ConvPackedParamsBase<2> > could not be converted to any of the known types. Exception raised from operator() at ../aten/src/ATen/core/jit_type.h:1735 (most recent call first): frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0x55 (0x7f26745c0c65 in /data/users/dzdang/pytorch/torch/lib/libc10.so) frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 0xb1 (0x7f26745bdcd1 in /data/users/dzdang/pytorch/torch/lib/libc10.so) frame #2: <unknown function> + 0x1494e24 (0x7f2663b14e24 in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #3: <unknown function> + 0xfed0bc (0x7f266366d0bc in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #4: c10::detail::infer_schema::make_function_schema(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>, c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>) + 0x5a (0x7f266366d71a in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #5: c10::detail::infer_schema::make_function_schema(c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>, c10::ArrayRef<c10::detail::infer_schema::ArgumentDef>) + 0x7b (0x7f266366e06b in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #6: <unknown function> + 0x1493f32 (0x7f2663b13f32 in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #7: <unknown function> + 0xe227dd (0x7f26634a27dd in /data/users/dzdang/pytorch/torch/lib/libtorch_cpu.so) frame #8: <unknown function> + 0x14e0a (0x7f268c934e0a in /lib64/ld-linux-x86-64.so.2) ..........................truncated............. ``` Reviewed By: malfet Differential Revision: D36862332 Pulled By: dzdang fbshipit-source-id: 598c36656b4e71f906d940e7ff19ecf82d43031d * empty commit * empty commit * empty commit Co-authored-by:
dzdang <dzdang@umich.edu> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Nikita Shulga authored
Clean up Conda build folder before every run Enable artifact upload to GitHub for every workflow run, but upload to Conda/S3 only on nightly pushes Test plan: `conda install -c pytorch-nightly torchvision; python -c "import torchvision;print(torchvision.io.read_image('hummingbird.jpg').shape)"`
-
- 06 Jun, 2022 3 commits
-
-
Nicolas Hug authored
* Add M1 testing job * libjpeg -> jpeg<=9b in test-m1.yml * Added export PATH=~/miniconda3/bin... from 6122 * Tests were OK, let's see if we can remove the pinning
-
Adam J. Stewart authored
* Docs: build with Sphinx 5 * Sphinx 5 no longer accepts language = None Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
Aditya Oke authored
* Fix the issue :) * Intellij vs ufmt battle * remove .item()
-
- 02 Jun, 2022 2 commits
-
-
Nikita Shulga authored
Explicitly set PATH to point to `conda` binary, otherwise libjpeg detection logic does not work Pin libjpeg to the same version on x86 and m1 Add simple tests that jpeg can be decoded by a generated wheel
-
Nikita Shulga authored
* [BE] Unify version computation Instead of hardcoding dev version in various script, use one from `version.txt` if `setup_build_version` is called without arguments Also, pass `--pre` option to M1 build/test pip install commands to build TorchVision against nightly pytorch * Pin torchvision dependency to a specific pytorch version
-
- 31 May, 2022 2 commits
-
-
Vasilis Vryniotis authored
* Add missing `_version` to the MLPBlock * fix linter
-
Nikita Shulga authored
This would package libpng and libjpeg.dylib into wheel files Add a very simple test step, copied from https://github.com/pytorch/pytorch.github.io/blob/1eaa33a3d3f1b83b64c5031c6dd04dbb238d6105/scripts/test_install.py#L78 Cherry-picked from https://github.com/pytorch/builder/blob/d0bc74cc363a9da5a8b6a40e883d40d25d050036/build_m1_domains.sh#L22
-
- 30 May, 2022 3 commits
-
-
YosuaMichael authored
Differential Revision: D36671123 fbshipit-source-id: eb99f293978ed150bca60073115971586f0fa02a Co-authored-by:
Oleksandr Voietsa <ovoietsa@fb.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
vfdev authored
New version of git checks folder owner and errors with 'fatal: unsafe repository' if owner is different. Thus, `root_dir="$(git rev-parse --show-toplevel)"` is failing. To fix the issue, just added all floder as safe directories git rev-parse --show-toplevel
-
vfdev authored
* Added tests for other padding modes * Fixed expected mask dtype * Applied comments from review
-
- 26 May, 2022 4 commits
-
-
Nikita Shulga authored
-
Vasilis Vryniotis authored
-
YosuaMichael authored
* Use List[int] instead of int for window_size and shift_size * Make PatchMerging and SwinTransformerBlock able to handle 2d and 3d cases * Separate patch embedding from SwinTransformer and enable to get model without head by specifying num_heads=None * Dont use if before padding so it is fx friendly * Put the handling on window_size edge cases on separate function and wrap with torch.fx.wrap so it is excluded from tracing * Update the weight url to the converted weight with new structure * Update the accuracy of swin_transformer * Change assert to Exception and nit * Make num_classes optional * Add typing output for _fix_window_and_shift_size function * init head to None to make it jit scriptable * Revert the change to make num_classes optional * Revert unneccesarry changes that might be risky * Remove self.head declaration
-
Philip Meier authored
* add tests for F.pad_bounding_box * Added correctness tests for pad and reimplemented bbox op to keep dtype * Update _geometry.py Co-authored-by:vfdev <vfdev.5@gmail.com>
-
- 25 May, 2022 2 commits
-
-
YosuaMichael authored
Add .float() before .mean() on test_backbone_utils.py because .mean() dont accept integer dtype (#6090)
-
YosuaMichael authored
-
- 24 May, 2022 2 commits
-
-
YosuaMichael authored
-
Vasilis Vryniotis authored
* Validate against expected files on videos * Plus tests for autocast
-
- 23 May, 2022 5 commits
-
-
Federico Pozzi authored
* feat: add functional center crop on mask * test: add correctness center crop with random segmentation mask * test: improvements * test: improvements * Apply suggestions from code review Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Federico Pozzi <federico.pozzi@argo.vision> Co-authored-by:
vfdev <vfdev.5@gmail.com> Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
Nicolas Hug authored
* Indicate download parameter is deprecated and will be removed * change default to None and raise warning if user isnt using default * aonfajoajgfnjaognojag
-
Vasilis Vryniotis authored
* Remove `(N, T, H, W, C) => (N, T, C, H, W)` conversion on presets * Update docs. * Fix the tests * Use `output_format` for `read_video()` * Use `output_format` for `Kinetics()` * Adding input descriptions on presets
-
Nicolas Hug authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
oxabz authored
Throw warning for empty masks or box tensors on draw_segmentation_masks and draw_bounding_boxes (#5857) * Fixing the IndexError in draw_segmentation_masks * fixing the bug on draw_bounding_boxes * Changing fstring to normal string * Removing unecessary conversion * Adding test for the change * Adding a test for draw seqmentation mask * Fixing small mistake * Fixing an error in the tests * removing useless imports * ufmt Co-authored-by:
LEGRAND Matthieu <legrand.ma@chu-toulouse.fr> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 20 May, 2022 5 commits
-
-
Bruno Korbar authored
* Dataset creation now supports "new" version of Kinetics dataset * remove unnecessary warning for now * provide kinetics option * new reading somehow doesn't need BHWC to BCHW transform * Addressing minor comments * Adding kinetics deprication warning for the old Kinetics400 class * lint error * Update torchvision/datasets/kinetics.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Updating README * Remove BHWC to BCHW * Put warning back * formatting Co-authored-by:
Bruno Korbar <bkorbar@quansight.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
Philip Meier authored
* improve error handling for GDrive downloads * perform HTML check regardless of MD5 check
-
Nicolas Hug authored
* Deactivate CelebA download * flake8 * Do proto version * Update torchvision/prototype/datasets/utils/_resource.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * address review Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
puhuk authored
* To resolve issue #5964 Add note for resnet architecture * Update resnet.py * Update resnet.py * Update resnet.rst * Fix stylings * Add the same notes on model builders * Improve description * Apply the change everywhere * Remove trailing space Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Vasilis Vryniotis authored
-
- 19 May, 2022 4 commits
-
-
Vasilis Vryniotis authored
* Adding an MLP block. * Adding documentation * Update typos. * Fix inplace for Dropout. * Apply recommendations from code review. * Making changes on pre-trained models. * Fix linter
-
Vasilis Vryniotis authored
* Add swin on hubconfig. * Add swin b/s in the `slow_models` list.
-
Joao Gomes authored
* add swin_s and swin_b variants * fix swin_b params * fix n parameters and acc numbers * adding missing acc numbers * apply ufmt * Updating `_docs` to reflect training recipe * Fix exted for swin_b Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Nicolas Hug authored
* Remove models.rst * Remove '- New' * Put back torchhub section where it originally was
-
- 18 May, 2022 2 commits
-
-
Nicolas Hug authored
* Doc revamp for optical flow models * Some more
-
Nicolas Hug authored
* Classif models * Detection * Segmentation * quantization * Video * optical flow * tests * Fix docs * Fix Video dataset * Consistency for RAFT dataset names * use ImageNet-1K * Use COCO-val2017-VOC-labels for segmentation * formatting
-