- 24 Sep, 2019 3 commits
-
-
Zhicheng Yan authored
* add _backend argument to __init__() of class VideoClips * minor fix * minor fix * Make backend private in VideoClips * Fix lint
-
Zhicheng Yan authored
* video transforms * [video transforms]in ToTensorVideo, divide value by 255.0 * [video transforms] fix a bug * fix linting * Make changes backwards-compatible
-
Ardalan authored
* add tar.xz archive handler * update unittest for tar.xz archive * remove .tar.xz unittest * add separate .tar.xz unittest * update PY2 compatibility
-
- 23 Sep, 2019 4 commits
-
-
ekosman authored
-
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
-
Surgan Jandial authored
* format param added * lint fixes * lint fixes * lint fixes
-
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
-
- 20 Sep, 2019 4 commits
-
-
Francisco Massa authored
-
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
-
eellison authored
* script_fcn_resnet * Make old models load * DeepLabV3 also got torchscript-ready
-
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
-
- 18 Sep, 2019 2 commits
-
-
Francisco Massa authored
* Remove C++ extensions in favor of custom ops * Remove unused custom_ops.cpp file * Rename _custom_ops.py * Reorganize functions * Minor improvements and fixes * Fix lint * Fully scriptable ops * Import types used by annotations
-
Francisco Massa authored
* Make AnchorGenerator support half precision * Add test for fasterrcnn with double * convert gt_boxes to right dtype
-
- 17 Sep, 2019 2 commits
-
-
Lara Haidar authored
* Support Exporting GeneralizedRCNNTransform * refactor code to address comments * update tests * address comments * revert min_size to test CI * re-revert min_size
-
eellison authored
-
- 16 Sep, 2019 1 commit
-
-
Francisco Massa authored
-
- 11 Sep, 2019 1 commit
-
-
Philip Meier authored
* Adds optional fill colour to rotate * bug fix
-
- 10 Sep, 2019 3 commits
-
-
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
-
Dmitrii Petukhov authored
-
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
-
- 09 Sep, 2019 3 commits
-
-
Philip Meier authored
* fix url * update comment
-
Edward Z. Yang authored
This reverts commit 78f169b5.
-
Lara Haidar authored
* Register torchvision ops * install ORT only with python 3 * remane lib + address other comments * fix lint * fix lib copy * find file with pattern instead of suffix * use relative path * revert rename and use imp to find lib * fix typo
-
- 06 Sep, 2019 2 commits
-
-
Vishwak Srinivasan authored
-
Philip Meier authored
-
- 02 Sep, 2019 2 commits
-
-
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
-
Carrie authored
* fixed typo * fixed some more typos and grammer
-
- 30 Aug, 2019 3 commits
-
-
Francisco Massa authored
* Fix flakiness of test_randomresized_params * Real fix * Reduce number of iters
-
Francisco Massa authored
-
lambdaflow authored
-
- 29 Aug, 2019 1 commit
-
-
Yuxin Wu authored
* Use Tensor.data_ptr instead of .data * use pytorch-nightly in CI
-
- 28 Aug, 2019 2 commits
-
-
buoyancy99 authored
* Fix bug of changing input tensor in function The original code will change the image tensor passed in by multiplying it by 255. The PR fixes that. * fix inplace multiplication in save_image
-
JMistele authored
Fixed video labelling after `subset` call for HMDB51 dataset (hmdb51.py) (EDIT: UCF101 as well) (#1240) * Fixed video labelling after subset for HMDB51 dataset * Fixed video labelling after subset for HMDB51 dataset Co-authored-by:
Eric Tang <etang21@stanford.edu> Co-authored-by:
Ryan Cao <ryancao@stanford.edu> * UCF 101 Labeling fixes - Analogous fix to HMDB51 to maintain correct labels after the train-test split - Additional change to the `select_fold` method in `ucf101.py` to correctly reflect the annotation format Co-authored-by:
Ryan Cao <ryancao@stanford.edu> Co-authored-by:
Eric Tang <etang21@stanford.edu>
-
- 07 Aug, 2019 2 commits
-
-
Edward Z. Yang authored
Following a similar line of inquiry to pytorch/audio#217
-
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]) ```
-
- 06 Aug, 2019 2 commits
-
-
Francisco Massa authored
-
Francisco Massa authored
* Add docs for video models * Fix docstrings for resnet and vgg
-
- 05 Aug, 2019 1 commit
-
-
Francisco Massa authored
-
- 04 Aug, 2019 1 commit
-
-
Francisco Massa authored
* [WIP] Minor cleanups on R3d * Move all models to video/resnet.py * Remove old files * Make tests less memory intensive * Lint * Fix typo and add pretraing arg to training script
-
- 02 Aug, 2019 1 commit
-
-
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
-