1. 03 Feb, 2020 1 commit
  2. 29 Jan, 2020 1 commit
    • bmanga's avatar
      Added CMake config support (#1339) · a7914797
      bmanga authored
      * Add cmake config file generation for torchvision (Torch::Vision)
      
      * Update README
      
      * Update cmake config to export TorchVision::Vision target, adding dependencies
      
      * Update readme
      
      * Fix path issues and rename target to TorchVision::TorchVision
      a7914797
  3. 22 Jan, 2020 1 commit
  4. 20 Jan, 2020 1 commit
  5. 10 Jan, 2020 1 commit
  6. 01 Oct, 2019 1 commit
  7. 29 Aug, 2019 1 commit
  8. 21 Aug, 2019 1 commit
  9. 06 Jul, 2019 1 commit
  10. 24 May, 2019 1 commit
  11. 21 May, 2019 1 commit
  12. 08 Jan, 2019 2 commits
    • Will Price's avatar
      [travis] Record code coverage and display on README (#703) · 98ca260b
      Will Price authored
      Test installed version of package
      
      To test against the installed version of the package (which is
      preferably since this can catch installation file inclusion bugs) we
      have to deal with quirks of coverage.py. By default the ecosystem is
      set up to do development coverage tests (e.g. in src, or by using `pip
      install -e .` or `python setup.py develop`).
      
      We want to test against the version installed, to do this we have to
      find the install path which we'll then pass to the `--cov` arg added by
      `pytest-cov`. To do this, we have to cd out of the current folder, and
      import the installed version and get it's install path (if we don't cd
      out, then we end up getting the existing directory in the cwd since by
      default cwd is on `sys.path`)
      
      Once we have the install path, we pass that to the `--cov` of pytest,
      however we also want to rewrite the paths for codecov to pick them up on
      the website, if they don't have to code coverage with local paths, they
      don't register is properly.
      
      In order to that, we have a .coveragerc file that has the contents:
      
      ```
      [paths]
      source =
          torchvision
          /**/site-packages/torchvision
      ```
      
      This tells codecov to treat all paths with those prefixes as the same,
      so anything like
      `/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/torchvision/models/__init__.py`
      would be treated the same as
      `torchvision/models/__init__.py` after running the coverage combination
      command. The first path seems to be special, in that all subsequent
      paths are rewritten to that one.
      
      Once we collect coverage, we then run `coverage run` to rewrite the
      installation paths in the coverage file, `.coverage`, to those expected
      by codecov.
      
      Phew. And that's it.
      
      N.B: Whilst adding test/__init__.py does solve the issue, it also results in
      PWD being added to the path, and then we'll test the development version
      of the package, and not the installed version (see
      https://docs.pytest.org/en/latest/goodpractices.html#tests-as-part-of-application-code)
      98ca260b
    • Will Price's avatar
      Add downloads and docs badge to README (#702) · 84896a6e
      Will Price authored
      84896a6e
  13. 03 Jan, 2018 1 commit
  14. 18 Dec, 2017 1 commit
  15. 05 Dec, 2017 1 commit
  16. 30 Oct, 2017 1 commit
  17. 07 Oct, 2017 1 commit
    • Iacopo Poli's avatar
      Added Whiten transform and its section in README (#263) · cee28367
      Iacopo Poli authored
      * added Whiten transform and relative section in README
      
      * added Whiten transform and its section in README
      
      * fixed lint
      
      * fixed lint again
      
      * added linear transformation and whitening test unitary covariance
      
      * fixed lint and test
      
      * commit before rebasing
      
      * before rebase
      
      * added assertion to check matrix size
      
      * fix readme
      
      * added space around operator
      
      * replace assert with raise ValueError, fix spaces and readme
      cee28367
  18. 02 Oct, 2017 1 commit
  19. 21 Sep, 2017 1 commit
  20. 19 Sep, 2017 1 commit
  21. 04 Sep, 2017 1 commit
  22. 02 Sep, 2017 1 commit
  23. 07 Apr, 2017 1 commit
  24. 06 Apr, 2017 1 commit
    • Huan Yang's avatar
      Add support for Transforms.Scale([w, h]) with specific width and height (#133) · f6d49d8b
      Huan Yang authored
      * Fixed border missing on bottom and right side using make_grid
      
      * Add support for Transforms.Scale([h, w]) with specific height and width
      
      if self.size is a int then scale the image with the shorter side,
      otherwise if self.size is a list then scale the image to self.size
      directly
      
      * Add assert of size and doc for README
      
      Add assert of size and doc for README
      
      * Fix linter problem
      
      Fix linter problem
      
      * Add test for Scale
      
      Add test for Scale
      
      * Add both tuple and list support for Scale.size
      
      Add both tuple and list support for Scale.size
      
      * Add order of Scale.size in document and test case for list type of Scale.size
      
      Add order of Scale.size in document and test case for list type of
      Scale.size
      f6d49d8b
  25. 29 Mar, 2017 1 commit
  26. 18 Mar, 2017 2 commits
  27. 17 Mar, 2017 3 commits
  28. 16 Mar, 2017 2 commits
  29. 05 Mar, 2017 1 commit
  30. 02 Mar, 2017 1 commit
  31. 27 Feb, 2017 1 commit
  32. 26 Feb, 2017 1 commit
  33. 11 Feb, 2017 1 commit
  34. 02 Feb, 2017 1 commit
  35. 24 Jan, 2017 1 commit