1. 24 Sep, 2019 3 commits
  2. 23 Sep, 2019 4 commits
    • ekosman's avatar
      Expose num_workers in VideoClips (#1359) · 02a8c0ad
      ekosman authored
      02a8c0ad
    • Dmitry Nikulin's avatar
      Support empty target_type for CelebA dataset (#1351) · 76c04d68
      Dmitry Nikulin authored
      * Support empty target_type for CelebA dataset
      
      * Return (X, None) for interface consistency
      
      * Document behavior for target_type=[]
      
      * Simplify diff
      
      * Raise exception on meaningless parameters
      76c04d68
    • Surgan Jandial's avatar
      Adding File object option to utils.save_image (#1301) · ef67fd92
      Surgan Jandial authored
      * format param added
      
      * lint fixes
      
      * lint fixes
      
      * lint fixes
      ef67fd92
    • Dmitry Belenko's avatar
      Bugfix for MNASNet (#1224) · 367e8514
      Dmitry Belenko authored
      * Add initial mnasnet impl
      
      * Remove all type hints, comply with PyTorch overall style
      
      * Expose models
      
      * Remove avgpool from features() and add separately
      
      * Fix python3-only stuff, replace subclasses with functions
      
      * fix __all__
      
      * Fix typo
      
      * Remove conditional dropout
      
      * Make dropout functional
      
      * Addressing @fmassa's feedback, round 1
      
      * Replaced adaptive avgpool with mean on H and W to prevent collapsing the batch dimension
      
      * Partially address feedback
      
      * YAPF
      
      * Removed redundant class vars
      
      * Update urls to releases
      
      * Add information to models.rst
      
      * Replace init with kaiming_normal_ in fan-out mode
      
      * Use load_state_dict_from_url
      
      * Fix depth scaling on first 2 layers
      
      * Restore initialization
      
      * Match reference implementation initialization for dense layer
      
      * Meant to use Kaiming
      
      * Remove spurious relu
      
      * Point to the newest 0.5 checkpoint
      
      * Latest pretrained checkpoint
      
      * Restore 1.0 checkpoint
      
      * YAPF
      
      * Implement backwards compat as suggested by Soumith
      
      * Update checkpoint URL
      
      * Move warnings up
      
      * Record a couple more function parameters
      
      * Update comment
      
      * Set the correct version such that if the BC-patched model is saved, it could be reloaded with BC patching again
      
      * Set a member var, not class var
      
      * Update mnasnet.py
      
      Remove unused member var as per review.
      
      * Update the path to weights
      367e8514
  3. 20 Sep, 2019 4 commits
    • Francisco Massa's avatar
      85ffd93c
    • 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
  4. 18 Sep, 2019 2 commits
  5. 17 Sep, 2019 2 commits
  6. 16 Sep, 2019 1 commit
  7. 11 Sep, 2019 1 commit
  8. 10 Sep, 2019 3 commits
  9. 09 Sep, 2019 3 commits
  10. 06 Sep, 2019 2 commits
  11. 02 Sep, 2019 2 commits
    • eellison's avatar
      make shufflenet and resnet scriptable (#1270) · 26c9630b
      eellison authored
      * make shufflenet scriptable
      
      * make resnet18 scriptable
      
      * set downsample to identity instead of __constants__ api
      
      * use __constants__ for downsample instead of identity
      
      * import tensor to fix flake
      
      * use torch.Tensor type annotation instead of import
      26c9630b
    • Carrie's avatar
      fixed typo (#1284) · 20a4a42d
      Carrie authored
      * fixed typo
      
      * fixed some more typos and grammer
      20a4a42d
  12. 30 Aug, 2019 3 commits
  13. 29 Aug, 2019 1 commit
  14. 28 Aug, 2019 2 commits
  15. 07 Aug, 2019 2 commits
    • Edward Z. Yang's avatar
      Rewrite torchvision packaging (#1209) · 64ccfe34
      Edward Z. Yang authored
      Following a similar line of inquiry to pytorch/audio#217
      64ccfe34
    • Myosaki's avatar
      Correction wrong comments (#1211) · 5414faa0
      Myosaki authored
      `self.fc1(x)` converts the shape of `x` into "N x 1024", and `self.fc2(x)` converts into "N x num_classes".
      
      By adding `print(x.shape)` under each comment line, the console displays as follows (batch_size is 1):
      
      ```text
      torch.Size([1, 2048])
      torch.Size([1, 1024])
      torch.Size([1, 1024])
      torch.Size([1, 1024])
      torch.Size([1, 1000])
      ```
      5414faa0
  16. 06 Aug, 2019 2 commits
  17. 05 Aug, 2019 1 commit
  18. 04 Aug, 2019 1 commit
  19. 02 Aug, 2019 1 commit
    • Francisco Massa's avatar
      Expose docs for io and ops package (#1189) · 4ec38d49
      Francisco Massa authored
      * Expose docs for io and ops package
      
      Had do modify the docstrings to use Napoleon NumPy style, because Napoleon Google Style doesn't support multiple return arguments
      
      * Add video section
      4ec38d49