1. 04 Mar, 2021 1 commit
  2. 03 Mar, 2021 3 commits
  3. 02 Mar, 2021 2 commits
  4. 01 Mar, 2021 11 commits
  5. 26 Feb, 2021 1 commit
  6. 25 Feb, 2021 3 commits
  7. 23 Feb, 2021 2 commits
  8. 22 Feb, 2021 4 commits
  9. 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
  10. 15 Feb, 2021 2 commits
  11. 12 Feb, 2021 4 commits
  12. 11 Feb, 2021 2 commits
  13. 10 Feb, 2021 1 commit
  14. 09 Feb, 2021 1 commit
  15. 04 Feb, 2021 2 commits
    • Nicolas Hug's avatar
      Add ops-cpp target to torchvision (#3350) · aa264980
      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: default avatarFrancisco Massa <fmassa@fb.com>
      aa264980
    • Philip Meier's avatar
      Add tests for the STL10 dataset (#3345) · bda17ddf
      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: default avatarFrancisco Massa <fvsmassa@gmail.com>
      bda17ddf