1. 19 Jan, 2021 2 commits
  2. 18 Jan, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Add MobileNetV3 architecture for Detection (#3253) · bf211dac
      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.
      bf211dac
  3. 15 Jan, 2021 2 commits
  4. 14 Jan, 2021 3 commits
  5. 11 Jan, 2021 1 commit
    • Josh Bradley's avatar
      Add widerface dataset (#2883) · d0063f3d
      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: default avatarPhilip Meier <github.pmeier@posteo.de>
      
      * remove comment and add more info to docstring
      
      * update type annotations
      
      * restart CI jobs
      Co-authored-by: default avatarJoshua Bradley <jgbrad3@evoforge.org>
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      d0063f3d
  6. 08 Jan, 2021 1 commit
  7. 07 Jan, 2021 2 commits
  8. 05 Jan, 2021 1 commit
  9. 04 Jan, 2021 1 commit
  10. 23 Dec, 2020 2 commits
    • Zhengyang Feng's avatar
      Transforms documentation clean-up (#3200) · 7b9d30eb
      Zhengyang Feng authored
      * Initial doc clean-up
      
      * Remove all private docs
      
      * Rename files
      
      * Highlight backend inconsistencies
      
      * Sequence and number
      
      * [Need checking] AutoAugment related doc change
      
      * Revert name changes
      7b9d30eb
    • Vasilis Vryniotis's avatar
      Patches done on FBCode sync (#3204) · 8c0bb6c2
      Vasilis Vryniotis authored
      * Patches required for FBCode merge.
      
      * Patching quantization model imports.
      
      * import QuantizableMobileNetV2
      
      * Adding newline to avoid lit errors
      8c0bb6c2
  11. 22 Dec, 2020 1 commit
  12. 20 Dec, 2020 1 commit
    • Siddhant Bansal's avatar
      Clean up and Document io.image enhancements (#3193) · af5cb00c
      Siddhant Bansal authored
      * Update ImageReadMode error messages, add newline at the end of image_read_mode.h, replace define with const in image_read_mode.h, add documentation to ImageReadMode enum
      
      * Update readpng_cpu and readjpeg_cpu error messages
      
      * Update image.py documentation
      af5cb00c
  13. 17 Dec, 2020 1 commit
  14. 16 Dec, 2020 1 commit
  15. 15 Dec, 2020 2 commits
  16. 14 Dec, 2020 2 commits
    • Vasilis Vryniotis's avatar
      Implement all AutoAugment transforms + Policies (#3123) · 83171d6a
      Vasilis Vryniotis authored
      
      
      * Invert Transform (#3104)
      
      * Adding invert operator.
      
      * Make use of the _assert_channels().
      
      * Update upper bound value.
      
      * Remove private doc from invert, create or reuse generic testing methods to avoid duplication of code in the tests. (#3106)
      
      * Create posterize transformation and refactor common methods to assist reuse. (#3108)
      
      * Implement the solarize transform. (#3112)
      
      * Implement the adjust_sharpness transform (#3114)
      
      * Adding functional operator for sharpness.
      
      * Adding transforms for sharpness.
      
      * Handling tiny images and adding a test.
      
      * Implement the autocontrast transform. (#3117)
      
      * Implement the equalize transform (#3119)
      
      * Implement the equalize transform.
      
      * Turn off deterministic for histogram.
      
      * Fixing test. (#3126)
      
      * Force ratio to be float to avoid numeric overflows on blend. (#3127)
      
      * Separate the tests of Adjust Sharpness from ColorJitter. (#3128)
      
      * Add AutoAugment Policies and main Transform (#3142)
      
      * Separate the tests of Adjust Sharpness from ColorJitter.
      
      * Initial implementation, not-jitable.
      
      * AutoAugment passing JIT.
      
      * Adding tests/docs, changing formatting.
      
      * Update test.
      
      * Fix formats
      
      * Fix documentation and imports.
      
      * Apply changes from code review:
      - Move the transformations outside of AutoAugment on a separate method.
      - Renamed degenerate method for sharpness for better clarity.
      
      * Update torchvision/transforms/functional.py
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      
      * Apply more changes from code review:
      - Add InterpolationMode parameter.
      - Move all declarations away from AutoAugment constructor and into the private method.
      
      * Update documentation.
      
      * Apply suggestions from code review
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      
      * Apply changes from code review:
      - Refactor code to eliminate as any to() and clamp() as possible.
      - Reuse methods where possible.
      - Apply speed ups.
      
      * Replacing pad.
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      83171d6a
    • Vasilis Vryniotis's avatar
      Removing VISION_API from backward() methods and adding an ops.h (#3163) · 4eab7a67
      Vasilis Vryniotis authored
      * Removing VISION_API from backward() methods and adding a ops.h
      
      * Fixing clang format.
      4eab7a67
  17. 12 Dec, 2020 1 commit
  18. 11 Dec, 2020 2 commits
  19. 10 Dec, 2020 1 commit
    • Vasilis Vryniotis's avatar
      Restructuring C++ project: (#3146) · 7d831a2f
      Vasilis Vryniotis authored
      Summary:
      * Reduce unnecessary header inclusions in models and io.
      
      * Move autocast to separate folder and hide autograd implementation in an anonymous namespace.
      
      * Moving files in subfolders.
      
      Reviewed By: fmassa
      
      Differential Revision: D25461523
      
      fbshipit-source-id: 756eeb6848aacaa474de4825ed4c1045d17e2cea
      7d831a2f
  20. 09 Dec, 2020 1 commit
  21. 08 Dec, 2020 1 commit
    • Vasilis Vryniotis's avatar
      Per file C++ Operator registration (#3135) · 3c33f367
      Vasilis Vryniotis authored
      * Moving deform_conv2d op registration.
      
      * Moving nms op registration.
      
      * Moving new_empty_tensor op registration.
      
      * Moving ps_roi_align op registration.
      
      * Moving ps_roi_pool op registration.
      
      * Moving roi_align op registration.
      
      * Moving roi_pool op registration.
      
      * Restoring headers for forward/backward and fixing styles.
      
      * Restoring the test hack on windows.
      
      * Stricter header inclusion.
      3c33f367
  22. 07 Dec, 2020 2 commits
  23. 04 Dec, 2020 2 commits
  24. 03 Dec, 2020 2 commits
  25. 02 Dec, 2020 4 commits
    • Vasilis Vryniotis's avatar
      Check num of channels on adjust_* transformations (#3069) · 7f1a05a3
      Vasilis Vryniotis authored
      * Fixing upperbound value on tests and documentation.
      
      * Limit the number of channels on adjust_* transoforms.
      7f1a05a3
    • Vasilis Vryniotis's avatar
      Encapsulate and Standardise C++ Ops (#3097) · 0ebbb0ab
      Vasilis Vryniotis authored
      * Encapsulate and standardize deform_conv2d (#3074)
      
      * Rename files.
      
      * Standardizing method names.
      
      * Adding anonymous namespaces.
      
      * Applying C++ naming rules and alinging variable names across headers and cpp files.
      
      * Syncing names across implementations.
      
      * Rename deform_conv2d.h to deform_conv2d.cpp
      
      * Use header files:
      - Create header files for kernel implementation and remove definitions from vision_*.h files.
      - Eliminate unnecessary headers and ensure all cpp include their headers.
      
      * Change the naming convention for kernel implementations.
      
      * Remove the _param postfix from the variables and standardizing names.
      
      * Exposing public forward/backward methods to the C++ API and moving methods around to minimize git blame changes.
      
      * Encapsulate and standardize nms (#3081)
      
      * Syncing, where possible, the names of functions across devices.
      
      * Adding all internal functions in anonymous namespaces.
      
      * Renaming C++/CUDA kernel files and moving operator code from header to cpp file.
      
      * Create foreach cpp file a separate header file with "public" functions.
      
      * Removing unnecessary repeated includes.
      
      * Update CMakeLists.txt to include all headers.
      
      * Encapsulate and standardize ps_roi_align (#3082)
      
      * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API.
      Syncing, where possible, the names of functions across devices.
      
      * Adding all internal functions in anonymous namespaces.
      
      * Renaming C++/CUDA kernel files and moving operator code from header to cpp file.
      
      * Create foreach cpp file a separate header file with "public" functions.
      
      * Removing unnecessary repeated includes.
      
      * Encapsulate and standardize ps_roi_pool (#3084)
      
      * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API.
      
      * Adding all internal functions in anonymous namespaces.
      
      * Renaming C++/CUDA kernel files and moving operator code from header to cpp file.
      
      * Create foreach cpp file a separate header file with "public" functions.
      
      * Removing unnecessary repeated includes.
      
      * Encapsulate and standardize roi_align (#3085)
      
      * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API.
      
      * Adding all internal functions in anonymous namespaces.
      
      * Renaming C++/CUDA kernel files and moving operator code from header to cpp file.
      
      * Create foreach cpp file a separate header file with "public" functions.
      
      * Removing unnecessary repeated includes.
      
      * Encapsulate and standardize roi_pool  (#3088)
      
      * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API.
      
      * Adding all internal functions in anonymous namespaces.
      
      * Syncing variable names between the cpp files and their header files.
      
      * Renaming C++/CUDA kernel files and moving operator code from header to cpp file.
      
      * Create foreach cpp file a separate header file with "public" functions.
      
      * Removing unnecessary repeated includes.
      
      * Encapsulate and standardize new_empty_tensor_op (#3089)
      
      * Renaming C++ files & methods according to recommended naming conventions and aligning them with Python's API.
      
      * Create foreach cpp file a separate header file with "public" functions.
      
      * Adding all internal functions in anonymous namespaces.
      
      * Convert to const ref all possible parameters.
      
      * Removing unnecessary repeated includes.
      
      * Encapsulate and standardize C++ Ops - Clean up (#3094)
      
      * Removing unnecessary repeated includes.
      
      * Remove unnecessary vision_cpu.h, vision_cuda.h, autocast.h.
      
      * Fixing naming convention and correcting method names on macros.
      
      * Turn on clang formatter for cu files and fixing broken styles.
      
      * Replace "#ifndef ... #define ... #endif" with "#pragma once" on header files.
      
      * Adding operator methods in vision::ops namespace. (#3096)
      
      * Adding operator methods in vision::ops namespace.
      
      * Replace general.h with macros.h
      
      * Adding vision.h to the necessary cpp files.
      0ebbb0ab
    • Francisco Massa's avatar
      Miscellaneous linter fixes (#3095) · 8520f0be
      Francisco Massa authored
      Replace tabs with spaces, add newlines to files and replace whitelist with allowlist
      8520f0be
    • Francisco Massa's avatar
      Remove noexcept from cuda_version (#3091) · ac288eaf
      Francisco Massa authored
      Operator registration of functions with noexcept doesn't work on some compilers, see https://github.com/pytorch/pytorch/issues/48667
      ac288eaf