Skip to content

[pull] master from pytorch:master#401

Open
pull[bot] wants to merge 279 commits into
Kerry-Cho:masterfrom
pytorch:master
Open

[pull] master from pytorch:master#401
pull[bot] wants to merge 279 commits into
Kerry-Cho:masterfrom
pytorch:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 23, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull Bot added the ⤵️ pull label Apr 23, 2021
NicolasHug and others added 29 commits May 4, 2021 16:23
xcode Version 9 is no longer supported by Apple. https://developer.apple.com/support/xcode/

Updating xcode to 12.0, which also updates the macOS to 10.15.

See https://circleci.com/docs/2.0/testing-ios/#supported-xcode-versions
* Add submitit script, partition param and parser on its own method.

* Fix method names, handle add_help correctly and refactoring.

* Delete run_with_submitit.py file
* Add auto-augment introduced transforms in docs.

* Adding examples in Gallery.

* Make posterize more extreme.
Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
* WIP Added antialias option to transforms.functional.resize

* Updates according to the review

* Excluded these C++ files for iOS build

* Added support for mixed downsampling/upsampling

* Fixed heap overflow caused by explicit loop unrolling

* Applied PR review suggestions
- used pytest parametrize instead unittest
- cast to scalar_t ptr
- removed interpolate aa files for ios/android keeping original cmake version
* hello

* Try with DYLD_FALLBACK_LIBRARY_PATH

Co-authored-by: Edgar Andrés Margffoy Tuay <andfoy@gmail.com>
* Refactor grid default boxes with torch.meshgrid

* Fix torch jit tracing

* Only doing the list multiplication once

Co-authored-by: Francisco Massa <fvsmassa@gmail.com>

* Make grid_default_box private as suggested

Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>

* Replace list multiplication with torch.repeat

* Move the clipping into _grid_default_boxes to accelerate

Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
* Fix inconsistent version pinning across yaml files.

* Pin pillow to >=5.3.0

* Pin pillow>=5.3.0 everywhere
Co-authored-by: James Thewlis <james@unitary.ai>
* Partial implementation of SSDlite.

* Add normal init and BN hyperparams.

* Refactor to keep JIT happy

* Completed SSDlite.

* Fix lint

* Update todos

* Add expected file in repo.

* Use C4 expansion instead of C4 output.

* Change scales formula for Default Boxes.

* Add cosine annealing on trainer.

* Make T_max count epochs.

* Fix test and handle corner-case.

* Add support of support width_mult

* Add ssdlite presets.

* Change ReLU6, [-1,1] rescaling, backbone init & no pretraining.

* Use _reduced_tail=True.

* Add sync BN support.

* Adding the best config along with its weights and documentation.

* Make mean/std configurable.

* Fix not implemented for half exception
* Fix io imports and expose methods

* fix fmt

Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
* Added support for bicubic mode with AA

* Updated comment in the test
Summary:
Pull Request resolved: #3823

Uploaded FashionMNIST dataset to [manifold](https://www.internalfb.com/intern/network/manifold/?bucket=torchvision&path=tree%2Fdatasets) bucket `torchvision`. Any new dataset that needs to be added could be uploaded under `tree/datasets/<dataset_name>`.

Reviewed By: datumbox

Differential Revision: D28358470

fbshipit-source-id: 6f2282d3f1ce4b1416e962de8fb132896d4b2d76
* Converting private parameters to public.

* Add kwargs to handle extra params.

* Add another kwargs.

* Add arguments in _mobilenet_extractor.
pmeier and others added 27 commits July 30, 2021 14:06
* fix MacOS cmake workflow

* try only mkl

* only pin mkl on MacOs

* fix

Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
* test_video_reader pytest refactoring

* pytest refactoring of test_videoapi.py

* test_video_reader pytest refactoring

* pytest refactoring of test_videoapi.py

* using pytest.approx for test_video_reader.py

* using pytest.approx for test_videoapi.py

* Fixing minor comments

* linting fixes

* minor comments

Co-authored-by: Vincent Moens <vmoens@fb.com>
* Port 'examples/python/video_api.ipynb' to gallery

* Address rst formattion suggestions
…ption (#4211)

* WIP on backward op interpolation with AA

* Removed cuda tests and reformat cpp code

* Fixed clang wrong formatting

* Added channels last test case

* Added CUDA support for backward pass, interpolation with AA

* Removed unused buffers

Co-authored-by: vfdev-5 <vfdev-5@gmail.com>
… googlenet weights (#4256)

using nn.init.trunc_normal_ instead of scipy.stats.truncnorm

Co-authored-by: Vincent Moens <vmoens@fb.com>
* string manipulation for ffmpeg version retrieval

* ffmpeg version 4.2 control

* commenting solution

* removing all escapes for spaces

Co-authored-by: Vincent Moens <vmoens@fb.com>
…#4250)

Co-authored-by: Vincent Moens <vmoens@fb.com>
* Add CUDA-11.3 builds to torchvision

Also mark  `.cicrleci/config.yml` as autogenerated in `.gitattributes`

* Add CUDA-11.3 install steps for Windows

* And here as well
Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
* interlaced png images

Co-authored-by: Vincent Moens <vmoens@fb.com>
Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
* style: Added missing typing annotations

* style: Fixed typing

* style: Fixed typing

* chore: Updated mypy.ini

Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
* style: Added typing annotations

* style: Fixed typing

* style: Fixed typing

* Remove unnecessary any.

* Update mypy.ini

Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
Co-authored-by: Vasilis Vryniotis <vvryniotis@fb.com>
* document video_sampler.

* minor docs for decoder.cpp

* descriptive comments for the stream.c

* descriptive comments for decoder.cpp

* per-stream descriptive comments

* Fixing CLANG hopefully

* addressing prabhat's comments

* typo I think

Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
* Skip the test if the failure is due to a connection error.

* Add todo.
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
* Replace in test_datasets*

* Replace in test_image.py

* Replace in test_transforms_tensor.py

* Replace in test_internet.py and test_io.py

* get_list_of_videos is util function still use get_tmp_dir

* Fix get_list_of_videos siginiture

* Add get_tmp_dir import

* Modify test_datasets_video_utils.py for test to pass

* Fix indentation

* Replace get_tmp_dir in util functions in test_dataset_sampler.py

* Replace get_tmp_dir in util functions in test_dataset_video_utils.py

* Move get_tmp_dir() to datasets_utils.py and refactor

* Fix pylint, indentation and imports

* import shutil to common_util.py

* Fix function signiture

* Remove get_list_of_videos under context manager

* Move get_list_of_videos to common_utils.py

* Move get_tmp_dir() back to common_utils.py

* Fix pylint and imports

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
* fix

* add functional PIL typings

* fix types

* fix types

* fix a small one

* small fix

* fix type

* fix interpolation types

Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
#4288)

* Unpinned the libjpeg version and fixed jpeg_mem_dest's size type Windows BC issue

* Temporarily get back pinned jpeg lib in order to run tests on CircleCI

* Revert "Temporarily get back pinned jpeg lib in order to run tests on CircleCI"

This reverts commit ab18a35.

* Used using instead of typedef and Fixed comment typo

Co-authored-by: Zhongkai Zhu <zhongkai@fb.com>
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
* Adding operator.

* Adding tests

* switching order of `p` and `mode`.

* Remove seed setting.

* Replace stats import with pytest.importorskip.

* Fix doc

* Apply suggestions from code review

Co-authored-by: Francisco Massa <fvsmassa@gmail.com>

* Fixing indentation.

* Adding operator in the documentation.

* Fixing lint

Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
@malfet malfet deleted the branch Kerry-Cho:master September 20, 2021 14:34
@malfet malfet deleted the master branch September 20, 2021 14:34
@NicolasHug NicolasHug deleted the branch Kerry-Cho:master October 28, 2021 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.