1. 01 Mar, 2021 1 commit
  2. 18 Feb, 2021 1 commit
    • Philip Meier's avatar
      [POC] Base class for dataset tests (#3402) · 22c548b0
      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
      22c548b0
  3. 12 Feb, 2021 2 commits
  4. 04 Jan, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Speed up CI runtime (#3189) · 4d2d8bb0
      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)
      4d2d8bb0
  5. 02 Dec, 2020 1 commit
  6. 27 Nov, 2020 1 commit
    • Aditya Oke's avatar
      Add utility to draw bounding boxes (#2785) · 240210c9
      Aditya Oke authored
      
      
      * initital prototype
      
      * flake
      
      * Adds documentation
      
      * minimal working bboxes
      
      * Adds label display
      
      * adds colors :-)
      
      * adds suggestions and fixes CI
      
      * handles image of dim 4
      
      * fixes image handling
      
      * removes dev file
      
      * adds suggested changes
      
      * Updating the API.
      
      * Update test.
      
      * Implementing code review improvements.
      
      * Further refactoring and adding test.
      
      * Replace random to white to reduce size and change font on tests.
      Co-authored-by: default avatarVasilis Vryniotis <vvryniotis@fb.com>
      240210c9
  7. 20 Nov, 2020 1 commit
  8. 06 Nov, 2020 2 commits
    • vfdev's avatar
      House keeping improvements: (#2964) · f655e6a7
      vfdev authored
      - fixed problem with error computation between results
      - refactored tensor cast for resize
      - fixed round usage
      f655e6a7
    • Vasilis Vryniotis's avatar
      Fix flakiness on detection tests (#2966) · 7f7ff056
      Vasilis Vryniotis authored
      * Simplify the ACCEPT=True logic in assertExpected().
      
      * Separate the expected filename estimation from assertExpected
      
      * Unflatten expected values.
      
      * Assert for duplicate scores if primary check fails.
      
      * Remove custom exceptions for algorithms and add a compact function for shrinking large ouputs.
      
      * Removing unused variables.
      
      * Add warning and comments.
      
      * Re-enable all autocast unit-test for detection and marking the tests as skipped in partial validation.
      
      * Move test skip at the end.
      
      * Changing the warning message.
      7f7ff056
  9. 05 Nov, 2020 1 commit
  10. 14 Oct, 2020 1 commit
  11. 05 Oct, 2020 1 commit
    • vfdev's avatar
      Added CPU/CUDA and batch input for dtype conversion op (#2755) · fdca3073
      vfdev authored
      
      
      * make convert_image_dtype scriptable
      
      * move convert dtype to functional_tensor since only works on tensors
      
      * retain availability of convert_image_dtype in functional.py
      
      * Update code and tests
      
      * Replaced int by torch.dtype
      
      * int -> torch.dtype and use F instead of F_t
      
      * Update functional_tensor.py
      
      * Added CPU/CUDA+batch tests
      
      * Fixed tests according to review
      Co-authored-by: default avatarBrian <nairbv@yahoo.com>
      fdca3073
  12. 18 Sep, 2020 1 commit
    • vfdev's avatar
      Added tests on batch of tensors to check transforms (#2584) · c4dcfb06
      vfdev authored
      * [WIP] Added tests on batch of tensors
      
      * Updated tests on batch of images
      
      * All functional transforms can work with (..., C, H, W) format
      
      * Added transforms tests on batch tensors
      
      * Added batch tests for five/ten crop
      - updated docs
      c4dcfb06
  13. 28 Aug, 2020 1 commit
    • vfdev's avatar
      Unified inputs for grayscale ops and transforms (#2586) · 2eba1f04
      vfdev authored
      * [WIP] Unify ops Grayscale and RandomGrayscale
      
      * Unified inputs for grayscale op and transforms
      - deprecated F.to_grayscale in favor of F.rgb_to_grayscale
      
      * Fixes bug with fp input
      
      * [WIP] Updated code according to review
      
      * Removed unused import
      2eba1f04
  14. 26 Aug, 2020 1 commit
  15. 09 Jul, 2020 1 commit
    • mcarilli's avatar
      [WIP] Allow autocast for 1.6 (#2384) · 0a8586c9
      mcarilli authored
      
      
      * Fixes Xiao's repro
      
      * Ports nms to use full dispatcher
      
      * Move HIPGuard to nms_cuda
      
      * clang-format
      
      * run models in test_models.py on GPU if available
      
      * Francisco's comment, also disable cuda model tests to see if CPU alone still passes
      
      * cuda tests now pass locally, although still not comparing to saved numerics
      
      * add note for thing to ask francisco
      
      * Allow cuda and cpu tests to share a data file
      
      * ignore suffix if unneeded
      
      * Skip autocast numerics checks for a few models
      
      * Add roi_align test
      Co-authored-by: default avatarMichael Carilli <mcarilli@nvidia.com>
      0a8586c9
  16. 31 Mar, 2020 1 commit
    • Philip Meier's avatar
      Remove six dependency (#2017) · 42b8d462
      Philip Meier authored
      * remove six from python code
      
      * remove six from setup.py
      
      * remove six from tests
      
      * remove six from references
      
      * remove six from packaging
      
      * revert str to torch._six._string_classes
      
      * revert str to torch._six._string_classes
      42b8d462
  17. 30 Nov, 2019 1 commit
    • driazati's avatar
      Add tests for results in script vs eager mode (#1430) · 227027d5
      driazati authored
      * Add tests for results in script vs eager mode
      
      This copies some logic from `test_jit.py` to check that a TorchScript'ed
      model's outputs are the same as outputs from the model in eager mode.
      
      To support differences in TorchScript / eager mode outputs, an
      `unwrapper` function can be provided per-model.
      
      * Fix inception, use PYTORCH_TEST_WITH_SLOW
      
      * Update
      
      * Remove assertNestedTensorObjectsEqual
      
      * Add PYTORCH_TEST_WITH_SLOW to CircleCI config
      
      * Add MaskRCNN unwrapper
      
      * fix prec args
      
      * Remove CI changes
      
      * update
      
      * Update
      
      * remove expect changes
      
      * Fix tolerance bug
      
      * Fix breakages
      
      * Fix quantized resnet
      
      * Fix merge errors and simplify code
      
      * DeepLabV3 has been fixed
      
      * Temporarily disable jit compilation
      227027d5
  18. 01 Oct, 2019 1 commit
    • eellison's avatar
      Add expected result tests (#1377) · 96ec0e1d
      eellison authored
      * add expected result tests
      
      * fix wrong assertion
      
      * start with only detection models
      
      * remove unneeded rng setting
      
      * fix test
      
      * add tuple support
      
      * update test
      
      * syntax error
      
      * treat .pkl files as binary data, see : https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#_binary_files
      
      * fix test
      
      * fix elif
      
      * Map tensor results and enforce maximum pickle size
      
      * unrelated change
      
      * larger rtol
      
      * pass rtol atol around
      
      * last commit i swear...
      
      * respond to comments
      
      * fix flake
      
      * fix py2 flake
      96ec0e1d
  19. 13 Jun, 2019 1 commit
    • Francisco Massa's avatar
      Minor test refactorings (#1011) · e402d43f
      Francisco Massa authored
      * Make tests work on fbcode
      
      * Lint
      
      * Fix rebase error
      
      * Properly use get_file_path_2
      
      * Fix wrong use of get_file_path_2 again
      
      * Missing import
      e402d43f