1. 21 Oct, 2019 2 commits
    • F-G Fernandez's avatar
      test: Updated asserts in test_io (#1496) · 371f6c8f
      F-G Fernandez authored
      * test: Updated asserts in test_io
      
      Updated all raw asserts to corresponding unittest.TestCase.assert. See #1483
      
      * test: Fixed test_io
      
      In order to use unittest.TestCase for asserts in temp_video, the object has to be passed itself to temp_video.
      
      * test: Updated asserts to AssertionError
      
      Switched initial raw assert to AssertionError.
      
      * test: Changed AssertionError for ValueError
      371f6c8f
    • F-G Fernandez's avatar
      test: Updated assert in test_ops (#1488) · a711c80e
      F-G Fernandez authored
      Updated all raw asserts to corresponding unittest.TestCase.assert. See #1483
      a711c80e
  2. 18 Oct, 2019 7 commits
  3. 17 Oct, 2019 1 commit
  4. 16 Oct, 2019 2 commits
  5. 15 Oct, 2019 2 commits
  6. 12 Oct, 2019 1 commit
  7. 08 Oct, 2019 1 commit
  8. 04 Oct, 2019 2 commits
  9. 03 Oct, 2019 1 commit
  10. 02 Oct, 2019 1 commit
  11. 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
  12. 30 Sep, 2019 1 commit
    • Chandresh Kanani's avatar
      modified code of io.read_video and io.read_video_timestamps to intepret pts... · 17e355f7
      Chandresh Kanani authored
      modified code of io.read_video and io.read_video_timestamps to intepret pts values in seconds (#1331)
      
      * modified code of io.read_video and io.read_video_timestamps to interpret pts values in seconds
      
      * changed default value for pts_unit to pts, corrected formatting
      
      * hanndliing both fractions and floats for start_pts and end_pts, added test cases for pts_unit sec
      
      * moved unit conversion logic to _read_from_stream method
      17e355f7
  13. 27 Sep, 2019 1 commit
    • eellison's avatar
      Make Googlnet & InceptionNet scriptable (#1349) · b9cbc227
      eellison authored
      * make googlnet scriptable
      
      * Remove typing import in favor of torch.jit.annotations
      
      * add inceptionnet
      
      * flake fixes
      
      * fix asssert true
      
      * add import division for torchscript
      
      * fix script compilation
      
      * fix flake, py2 division error
      
      * fix py2 division error
      b9cbc227
  14. 26 Sep, 2019 1 commit
    • Francisco Massa's avatar
      Fix nightly builds (#1374) · cae0eeee
      Francisco Massa authored
      * Fix nightly builds
      
      * Fix lint
      
      * Disable video_reader tests on Travis
      
      * Disable one more test that segfaults on Travis
      
      * Fix typo in expression
      cae0eeee
  15. 24 Sep, 2019 4 commits
  16. 23 Sep, 2019 1 commit
  17. 20 Sep, 2019 3 commits
    • Zhicheng Yan's avatar
      [video reader] inception commit (#1303) · 31fad34f
      Zhicheng Yan authored
      * [video reader] inception commit
      
      * add method save_metadata to class VideoClips in video_utils.py
      
      * add load_metadata() method to VideoClips class
      
      * add Exception to not catch unexpected events such as memory erros, interrupt
      
      * fix bugs in video_plus.py
      
      * [video reader]remove logging. update setup.py
      
      * remove time measurement in test_video_reader.py
      
      * Remove glog and try making ffmpeg finding more robust
      
      * Add ffmpeg to conda build
      
      * Add ffmpeg to conda build [again]
      
      * Make library path finding more robust
      
      * Missing import
      
      * One more missing fix for import
      
      * Py2 compatibility and change package to av to avoid version conflict with ffmpeg
      
      * Fix for python2
      
      * [video reader] support to decode one stream only (e.g. video/audio stream)
      
      * remove argument _precomputed_metadata_filepath
      
      * remove save_metadata method
      
      * add get_metadata method
      
      * expose _precomputed_metadata and frame_rate arguments in video dataset __init__ method
      
      * remove ssize_t
      
      * remove size_t to pass CI check on Windows
      
      * add PyInit__video_reader function to pass CI check on Windows
      
      * minor fix to define PyInit_video_reader symbol
      
      * Make c++ video reader optional
      
      * Temporarily revert changes to test_io
      
      * Revert changes to python files
      
      * Rename files to make it private
      
      * Fix python lint
      
      * Fix C++ lint
      
      * add a functor object EnumClassHash to make Enum class instances usable as key type of std::unordered_map
      
      * fix cpp format check
      31fad34f
    • eellison's avatar
      Make fcn_resnet Scriptable (#1352) · a6a926bc
      eellison authored
      * script_fcn_resnet
      
      * Make old models load
      
      * DeepLabV3 also got torchscript-ready
      a6a926bc
    • eellison's avatar
      Make Densenet Scriptable (#1342) · 21110d93
      eellison authored
      * make densenet scriptable
      
      * make py2 compat
      
      * use torch List polyfill
      
      * fix unpacking for checkpointing
      
      * fewer changes to _Denseblock
      
      * improve error message
      
      * print traceback
      
      * add typing dependency
      
      * add typing dependency to travis too
      
      * Make loading old checkpoints work
      21110d93
  18. 18 Sep, 2019 3 commits
  19. 17 Sep, 2019 2 commits
  20. 10 Sep, 2019 2 commits
    • Thomas Viehmann's avatar
      Make custom ops differentiable (#1314) · a91fe722
      Thomas Viehmann authored
      * Make custom ops differentiable
      
      and replace autograd.Function. Use ops unconditionally.
      
      We may consider removing the extension functions in a follow-up.
      
      The code-path is tested by the exisitng tests for differentiability.
      
      * add scripting gradchecks tests and use intlist
      
      * fix implicit tuple conversion for gcc-5
      
      * fix merge
      a91fe722
    • Lara Haidar's avatar
      Fix Windows build in Torchvision Custom op Registration (#1320) · 7f7e7663
      Lara Haidar authored
      * Revert "Revert "Register Torchvision Ops as Cutom Ops (#1267)" (#1316)"
      
      This reverts commit fe234fc8.
      
      * Make import of C++ extensions lazy
      
      * define python initialization functions for extension
      
      * Fix lint
      7f7e7663
  21. 09 Sep, 2019 1 commit