- 04 Oct, 2021 1 commit
-
-
Philip Meier authored
* add ufmt as code formatter * cleanup * quote ufmt requirement * split imports into more groups * regenerate circleci config * fix CI * clarify local testing utils section * use ufmt pre-commit hook * split relative imports into local category * Revert "split relative imports into local category" This reverts commit f2e224cde2008c56c9347c1f69746d39065cdd51. * pin black and usort dependencies * fix local test utils detection * fix ufmt rev * add reference utils to local category * fix usort config * remove custom categories sorting * Run pre-commit without fixing flake8 * got a double import in merge Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 18 Aug, 2021 1 commit
-
-
Alex Lin authored
* Replace in test_datasets* * Replace in test_image.py * Replace in test_transforms_tensor.py * Replace in test_internet.py and test_io.py * get_list_of_videos is util function still use get_tmp_dir * Fix get_list_of_videos siginiture * Add get_tmp_dir import * Modify test_datasets_video_utils.py for test to pass * Fix indentation * Replace get_tmp_dir in util functions in test_dataset_sampler.py * Replace get_tmp_dir in util functions in test_dataset_video_utils.py * Move get_tmp_dir() to datasets_utils.py and refactor * Fix pylint, indentation and imports * import shutil to common_util.py * Fix function signiture * Remove get_list_of_videos under context manager * Move get_list_of_videos to common_utils.py * Move get_tmp_dir() back to common_utils.py * Fix pylint and imports Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
- 14 Jul, 2021 1 commit
-
-
Philip Meier authored
Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 27 May, 2021 1 commit
-
-
Shrill Shrestha authored
-
- 21 May, 2021 1 commit
-
-
Nicolas Hug authored
Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
- 04 Dec, 2020 1 commit
-
-
Francisco Massa authored
Makes it appease fbcode internal tests
-
- 01 Dec, 2020 1 commit
-
-
Francisco Massa authored
* Add option to write audio to video file Summary: I was trying to use torchvision's `write_video` function and realized there was no option to add in the audio. Thus, this diff contains the changes necessary such that this is possible. This is my first time trying to contribute to this project, so be as harsh as you need! Reviewed By: fmassa Differential Revision: D21480083 fbshipit-source-id: 2e11f2c8728d42f86c94068f75b843793d5a94aa * Fix typo * Try fix Windows * Disable test on Windows Co-authored-by:Joanna Bitton <jbitton@fb.com>
-
- 18 May, 2020 1 commit
-
-
Francisco Massa authored
-
- 05 May, 2020 1 commit
-
-
Francisco Massa authored
* Fix missing compilation files for video-reader * Disable IO tests in travis
-
- 28 Apr, 2020 1 commit
-
-
Francisco Massa authored
-
- 01 Apr, 2020 1 commit
-
-
Philip Meier authored
-
- 28 Jan, 2020 1 commit
-
-
Francisco Massa authored
* torchscriptable functions for video io (#1653) Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/1653 created new torchscriptable video io functions as part of the api: read_video_meta_data_from_memory and read_video_from_memory. Updated the implementation of some of the internal functions to be torchscriptable. Reviewed By: stephenyan1231 Differential Revision: D18720474 fbshipit-source-id: 4ee646b66afecd2dc338a71fd8f249f25a3263bc * BugFix Co-authored-by:
Jon Guerin <54725679+jguerin-fb@users.noreply.github.com>
-
- 16 Dec, 2019 1 commit
-
-
Oana Florescu authored
-
- 29 Oct, 2019 1 commit
-
-
Francisco Massa authored
* Unify video metadata in VideoClips * Bugfix * Make tests a bit more robust
-
- 23 Oct, 2019 1 commit
-
-
Francisco Massa authored
* Unify video backend interfaces * Remove reference cycle * Make functions private and enable tests on OSX * Disable test if video_reader backend not available * Lint * Fix import after refactoring * Fix lint
-
- 21 Oct, 2019 1 commit
-
-
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
-
- 15 Oct, 2019 1 commit
-
-
Francisco Massa authored
* Handle corrupted video headers in io * Catch exceptions while decoding partly-corrupted files * Add more tests
-
- 12 Oct, 2019 1 commit
-
-
Zhicheng Yan authored
* extend video reader to support fast video probing * fix c++ lint * small fix * allow to accept input video of type torch.Tensor
-
- 30 Sep, 2019 1 commit
-
-
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
-
- 24 Sep, 2019 1 commit
-
-
Zhicheng Yan authored
* add _backend argument to __init__() of class VideoClips * minor fix * minor fix * Make backend private in VideoClips * Fix lint
-
- 09 Sep, 2019 1 commit
-
-
Francisco Massa authored
* [WIP] Add CircleCI for CI * Make jobs only run on master * Add initial CI * [wip] testing if works * Trying some basic GPU tests * [WIP] maybe it will work? * [WIP] One more try * Pin versions * Simplify and reuse * Fix * [WIP] testing windows * [WIP] testing windows * Try windows * Try Windows * Try windows * Try windows * Try windows * Try windows * Try windows * Try windows * Windows speedup * Windows multicores * Add parallel flags for Windows * Skip some tests on Windows * Sync config.yml and config.yml.in * Regenerate * Run all tests * Limit python and cuda version for finding pytorch * Skip darwin for previous check * Add description * Fix logic * Remove space * Add CUDA test back * Add back .travis.yml for now and remove duplicate test * Add newline
-
- 07 Aug, 2019 1 commit
-
-
Edward Z. Yang authored
Following a similar line of inquiry to pytorch/audio#217
-
- 26 Jul, 2019 2 commits
-
-
Francisco Massa authored
* Optimize read_video_timestamps for some formats * Add some tests
-
Francisco Massa authored
* Miscellaneous fixes and improvements * Guard against videos without video stream * Fix lint * Add test for packed b-frames videos * Fix missing import
-
- 24 Jul, 2019 1 commit
-
-
Francisco Massa authored
Also extend video saving to support different codecs and options. Notably, we can now save with lossless compression
-
- 19 Jul, 2019 1 commit
-
-
Francisco Massa authored
* Add VideoClips and Kinetics dataset * Lint + add back missing line * Adds ClipSampler following Bruno comment * Change name following Bruno's suggestion * Enable specifying a target framerate * Fix test_io for new interface * Add comment mentioning drop_last behavior * Make compute_clips more robust * Flake8 * Fix for Python2
-
- 02 Jul, 2019 1 commit
-
-
Francisco Massa authored
* WIP * WIP * Add some documentation * Improve tests and add GC collection * [WIP] add timestamp getter * Bugfixes * Improvements and travis * Add audio fine-grained alignment * More doc * Remove unecessary file * Remove comment * Lazy import av * Remove hard-coded constants for the test * Return info stats from read * Fix for Python-2
-