- 11 Feb, 2021 6 commits
-
-
bmanga authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
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>
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
Reviewed By: zertosh Differential Revision: D26396892 fbshipit-source-id: be0bd7fb54cb2f7bd0e0fb5222cc25b4930679a6
-
Philip Meier authored
* remove generated dataset folders after download tests * revert unnecessary style changes
-
Vasilis Vryniotis authored
Summary: Noticed this copy-paste error while reading D26026259 (https://github.com/pytorch/vision/commit/f16322b596c7dc9e9d67d3b40907694f29e16357) for inspiration to solve a similar problem Created from Diffusion's 'Open in Editor' feature. Reviewed By: datumbox Differential Revision: D26373056 fbshipit-source-id: d67f46243a280e8a59d12bad9dd730c1a3d512c9
-
- 10 Feb, 2021 2 commits
-
-
Vasilis Vryniotis authored
* Adding the average_checkpoints() method. * Adding the store_model_weights() method.
-
Vasilis Vryniotis authored
-
- 09 Feb, 2021 3 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
* Adding TODO placeholders. * More placeholders. * Add MobileNetV3 small pre-trained weights. * Remove placeholders.
-
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>
-
- 08 Feb, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 05 Feb, 2021 1 commit
-
-
Philip Meier authored
* fix STL10 folds * use np.int64 over np.long
-
- 04 Feb, 2021 6 commits
-
-
Ivan Kobzarev authored
* [android] android gradle project for ops * Change CMakeLists to latest PyTorch * Use mobilenet_v3 models for detection Don't need to have two variants of the model anymore, but I'm not removing it for now * Fix orientation when angle = 0 * [android][test_app] Fix YUV decoding * Use smaller version of mobilenet model * Divide inputs by 255 again * [android] assets mobilenetv3 Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
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>
-
Francisco Massa authored
-
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>
-
Vasilis Vryniotis authored
Summary: We accept python bytes for video in existing API, such as `_read_video_timestamps_from_memory`. We should do so to `_read_video_timestamps_from_memory` as well. Reviewed By: fmassa Differential Revision: D26216777 fbshipit-source-id: 5d7ecf15c5a65dc5c57f17b343e7c63b4933189e Co-authored-by:Zhicheng Yan <zyan3@fb.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 5 commits
-
-
Vasilis Vryniotis authored
* Refactoring mobilenetv3 to make code reusable. * Adding quantizable MobileNetV3 architecture. * Fix bug on reference script. * Moving documentation of quantized models in the right place. * Update documentation. * Workaround for loading correct weights of quant model. * Update weight URL and readme. * Adding eval.
-
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 3 commits
-
-
Vasilis Vryniotis authored
* Fixing mypy errors. * Fixing typing issue.
-
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>
-
Vasilis Vryniotis authored
-
- 29 Jan, 2021 4 commits
-
-
Francisco Massa authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
vfdev authored
Disable pretrained backbone downloading if pretrained is True Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Nicolas Hug authored
* Document undodcumented parameters * remove setup.cfg changes * Properly pass normalize down instead of deprecating it * Fix flake8 * Add new CI check * Fix type spec * Leave normalize be part of kwargs Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Nicolas Hug authored
-
- 28 Jan, 2021 6 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>
-
Vasilis Vryniotis authored
* Adding presets in the classification reference scripts. * Adding presets in the object detection reference scripts. * Adding presets in the segmentation reference scripts. * Adding presets in the video classification reference scripts. * Moving flip at the end to align with image classification signature.
-
Vasilis Vryniotis authored
* Moving jpegcommon inside cpu implementation * Adding namespaces on image and moving private methods to anonymous. * Fixing headers. * Renaming public image methods to match the ones on python. * Refactoring to remove the double ifs in common_jpeg.h
-
Vasilis Vryniotis authored
* Moving registration of video methods in Video.cpp and removing unnecessary includes. * Rename files according to cpp styles. * Adding namespaces and moving private methods to anonymous namespaces. * Syncing method names. * Fixing minor issues.
-
- 27 Jan, 2021 2 commits
-
-
Vasilis Vryniotis authored
-
Nicolas Hug authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-