- 22 Feb, 2021 4 commits
-
-
Philip Meier authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
* use common download utils in VOC and SBDataset * add tests for VOC * use common base class for VOC datasets * remove old voc test and fake data generation Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 18 Feb, 2021 1 commit
-
-
Philip Meier authored
* add base class for datasets tests * add better type hints * add documentation to subclasses * add utility functions to create files / folders of random images and videos * fix imports * remove class properties * fix smoke test * fix type hints * fix random size generation * add Caltech256 as example * add utility function to create grid of combinations * add CIFAR100? as example * lint * add missing import * improve documentation * create 1 frame videos by default * remove obsolete check * return path of files created with utility functions * [test] close PIL file handles before deletion * fix video folder creation * generalize file handle closing * fix lazy imports * add test for transforms * fix explanation comment * lint * force load opened PIL images * lint * copy default config to avoid inplace modification * enable additional arg forwarding
-
- 15 Feb, 2021 2 commits
-
-
vfdev authored
Fixes #3393
-
Vasilis Vryniotis authored
* Replace type T with accumulator. * Upcast tensors of box ops to avoid overflow in multiplications.
-
- 12 Feb, 2021 4 commits
-
-
Vasilis Vryniotis authored
Summary: In opt mode, the linker could strip out the symbols related to the torchvision ops if they had not been explicitly requested. Adding link-whole is one way of fixing this. Reviewed By: datumbox, ppwwyyxx Differential Revision: D26249713 fbshipit-source-id: 4e55e2ebb483922fe308fd8b83456439bde728c9
-
Vasilis Vryniotis authored
* Fix test flakiness caused by rounding. * Update test/test_transforms.py * Styles Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
Vasilis Vryniotis authored
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/3370 Pull Request resolved: https://github.com/pytorch/vision/pull/3361 Convert pytorch_gpu to use GPU/RE Reviewed By: datumbox Differential Revision: D26264102 fbshipit-source-id: b45179215ecb1142f6468386c4fee1759dd82f0c
-
Eli Uriegas authored
(cherry picked from commit 2f40a483d73018ae6e1488a484c5927f2b309969) Signed-off-by:Eli Uriegas <eliuriegas@fb.com>
-
- 11 Feb, 2021 2 commits
-
-
bmanga authored
* On MSVC, instruct the linker not to drop the _register_ops symbol * Remove workaround for ops registration on windows Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
* remove generated dataset folders after download tests * revert unnecessary style changes
-
- 10 Feb, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 09 Feb, 2021 1 commit
-
-
clint (woonhyuk baek) authored
* aspect ratio must be a sampling from log scale. reference from: https://github.com/pytorch/vision/blob/8317295c1d272e0ba7b2ce31e3fd2c048235fc73/torchvision/transforms/transforms.py#L833-L836 * add random erasing unittest code * Increased threshold for difference in sampling rate * move outside of the loop * log_ratio move outside of the loop. RandomResizedCrop also Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 04 Feb, 2021 3 commits
-
-
Nicolas Hug authored
Summary: This diff adds a new target to torchvision which enables users to use torchvision ops from C++. For now, the `cpp_library` is not used by the `python_cpp_library`. We should instead refactor the logic in torchvision to directly use `cpp_library` instead. There is currently an inconsistency between fbcode and OSS users. OSS users can import torchvision via ``` #include <torchvision/vision.h> ``` while fbcode users need to do ``` #include <torchvision/csrc/vision.h> ``` It would be good to fix this discrepancy in the future. I didn't directly use `test_frcnn_tracing.cpp` due to complications for getting the `.pt` file in a way that works for both OSS and fbcode, so instead we added a self-contained test that should validate that the torchvision ops are properly registered and visible to JIT Reviewed By: datumbox Differential Revision: D26225669 fbshipit-source-id: 5dd9fb98dd58e854f95806e4860d02f54fc04ea4 Co-authored-by:Francisco Massa <fmassa@fb.com>
-
Philip Meier authored
* extract some functionality from places365 fakedata for common use * add a common DatasetTestcase * add fakedata generation and tests for STL10 * lint Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
* make timeout a parameter * check redirects Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 03 Feb, 2021 1 commit
-
-
Philip Meier authored
* kmnist * emnist * qmnist * omniglot * phototour * sbdataset * sbu * semeion * stl10 * svhn * usps * cifar100 * enable download logging for google drive * celeba * widerface * lint * add timeout logic * lint * debug CI connection to problematic server * set timeout for ping * [ci skip] remove ping * revert debugging * disable requests to problematic server * re-enable all other tests Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 02 Feb, 2021 4 commits
-
-
Sofya Lipnitskaya authored
* Check if the file is located on Google Drive download_file() detects if the provided URL contains a link to Google Drive and passes the request through the download_file_from_google_drive() if it is the case. * remove lazy re import * add guard clause * use urlparse * add tests * Fixing lint. * make id matching more safe * Fixing type check. * Remove AnyStr. Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com>
-
Philip Meier authored
-
Philip Meier authored
* cleanup * mnist * lint Co-authored-by:vfdev <vfdev.5@gmail.com>
-
Saurabh Khanduja authored
* Renamed original method to test center crop * Added test method, docs and added padding when imgsize < cropsize. * BugFix - keep odd_crop_size odd * Do not crop when image size after padding matches crop size; updated test. Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 01 Feb, 2021 1 commit
-
-
Aditya Oke authored
* adds fill paramter * small doc edit * Change fill to bool * add filled * fix the bugs * Fixes bugs * adds test with fill param * fix tuple bug Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 28 Jan, 2021 3 commits
-
-
Nicolas Hug authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Vasilis Vryniotis authored
-
Anthony Kantsemal authored
* initial fix * fill=0 * docstrings * fill type check * fill type check * set None to zero * unit tests * set instead of NotImplemented * fix W293 Co-authored-by:
vfdev <vfdev.5@gmail.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 27 Jan, 2021 2 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
* Making _segm_resnet() generic and reusable. * Adding fcn and deeplabv3 directly on mobilenetv3 backbone. * Adding tests for segmentation models. * Rename is_strided with _is_cn. * Add dilation support on MobileNetV3 for Segmentation. * Add Lite R-ASPP with MobileNetV3 backbone. * Add pretrained model weights. * Removing model fcn_mobilenet_v3_large. * Adding docs and imports. * Fixing typo and readme.
-
- 25 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Modify segmentation tests compare against expected values. * Exclude flaky autocast tests. Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 20 Jan, 2021 1 commit
-
-
Alessio Falai authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 19 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Tag fasterrcnn mobilenetv3 model with 320, add new inference config that makes it 2x faster sacrificing a bit of mAP. * Add a high resolution fasterrcnn mobilenetv3 model. * Update tests and expected values.
-
- 18 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Minor refactoring of a private method to make it reusuable. * Adding a FasterRCNN + MobileNetV3 with & w/o FPN models. * Reducing Resolution to 320-640 and anchor sizes to 16-256. * Increase anchor sizes. * Adding rpn score threshold param on the train script. * Adding trainable_backbone_layers param on the train script. * Adding rpn_score_thresh param directly in fasterrcnn_mobilenet_v3_large_fpn. * Remove fasterrcnn_mobilenet_v3_large prototype and update expected file. * Update documentation and adding weights. * Use buildin Identity. * Fix spelling.
-
- 15 Jan, 2021 1 commit
-
-
Sofya Lipnitskaya authored
* Make download_url() follow redirects Fix bug related to the incorrect processing of redirects. Follow the redirect chain until the destination is reached or the number of redirects exceeds the max allowed value (by default 10). * Parametrize value of max allowed redirect number Make max number of hops a function argument and assign its default value to 10 * Propagate the max number of hops to download_url() Add the maximum number of redirect hops parameter to download_url() * check file existence before redirect * remove print * remove recursion * add tests * Reducing max_redirect_hops Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com>
-
- 14 Jan, 2021 2 commits
-
-
Vasilis Vryniotis authored
* Add MobileNetV3 Architecture in TorchVision (#3182) * Adding implementation of network architecture * Adding rmsprop support on the train.py * Adding auto-augment and random-erase in the training scripts. * Adding support for reduced tail on MobileNetV3. * Tagging blocks with comments. * Adding documentation, pre-trained model URL and a minor refactoring. * Handling better untrained supported models.
-
Vasilis Vryniotis authored
* Introduce small score threshold on rpn * Adding docs and fixing keypoint and mask. * Making value 0.0 by default for BC. * Fixing for onnx. * Update threshold. * Removing non-default threshold from reference scripts. Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 11 Jan, 2021 1 commit
-
-
Josh Bradley authored
* initial commit of widerface dataset * comment out old code * improve parsing of annotation files * code cleanup and fix docstring comments * speed up check for quota exceeded * cleanup print statements * reformat code and remove print statements * minor code cleanup and reformatting * add more comments * reuse variable * reverse formatting changes * fix flake8 errors * add type annotations * fix mypy errors * add a base_folder to root directory * some formatting fixes * GDrive threshold does not throw 403 error * testing new download logic * cleanup logic for download and integrity check * use a better variable name * format fix * reorder list in docstring * initial widerface unit test - fails on MD5 check * use list of dictionaries to store dataset * fix docstring formatting * remove unnecessary error checking * fix type checker error * revert typo fix * rename var constants, use file context manager, verify str args * fix flake8 error * fix checking target_type argument values * create uncompressed dataset folders * cleanup unit tests for widerface * use correct os function * add more info to docstring * disable unittests for windows * fix _check_integrity logic * update docstring * remove citation * remove target_type option * fix formatting issue Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * remove comment and add more info to docstring * update type annotations * restart CI jobs Co-authored-by:
Joshua Bradley <jgbrad3@evoforge.org> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
- 04 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Speedup test_ucf101 (#2623 * Speedup Cmake builds (#3186) * Speedup test_autoaugment (#3190) * Speedup DeformConvTester (#3191) * Speedup InceptionV3 and GoogleNet on Windows (#3196)
-
- 15 Dec, 2020 2 commits
-
-
Avijit Dasgupta authored
* added the helper method for dimension checks * unit tests for dimensio check function in functional_tensor * code formatting and typing * moved torch image check after tensor check * unit testcases for test_assert_image_tensor added and refactored * separate unit testcase file deleted * assert_image_tensor added to newly created 6 methods * test cases added for new 6 mthohds * removed wrongly pasted posterize method and added solarize method for testing Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Zhiqiang Wang authored
* Replacing all torch.jit.annotations with typing * Replacing remaining typing
-