1. 22 Feb, 2021 1 commit
  2. 19 Feb, 2021 1 commit
  3. 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
  4. 16 Feb, 2021 4 commits
  5. 15 Feb, 2021 4 commits
  6. 12 Feb, 2021 5 commits
  7. 11 Feb, 2021 6 commits
  8. 10 Feb, 2021 2 commits
  9. 09 Feb, 2021 3 commits
  10. 08 Feb, 2021 1 commit
  11. 05 Feb, 2021 1 commit
  12. 04 Feb, 2021 6 commits
    • Ivan Kobzarev's avatar
      [android] android gradle project for ops (#2897) · 6949b893
      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: default avatarFrancisco Massa <fvsmassa@gmail.com>
      6949b893
    • 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
    • Francisco Massa's avatar
      88d18d66
    • 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
    • Philip Meier's avatar
      Improve download tests (#3346) · c645f9d2
      Philip Meier authored
      
      
      * make timeout a parameter
      
      * check redirects
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      c645f9d2
    • Vasilis Vryniotis's avatar
      accept python bytes in _read_video_from_memory() (#3347) · 82ae5d1f
      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: default avatarZhicheng Yan <zyan3@fb.com>
      82ae5d1f
  13. 03 Feb, 2021 1 commit
    • Philip Meier's avatar
      Add download tests for remaining datasets (#3338) · c5d6f1f3
      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: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      c5d6f1f3
  14. 02 Feb, 2021 4 commits