- 07 Oct, 2020 1 commit
-
-
Aditya Oke authored
* fixies small bug in box_convert * activates jit test * Passes JIT test * fixes typo * adds error tests, removes assert * implements to proposal2
-
- 06 Oct, 2020 5 commits
-
-
Francisco Massa authored
* Add write_file * Fix lint
-
Edgar Andrés Margffoy Tuay authored
* Add PyTorch FFmpeg to wheel and conda distributions * Try to install wget from conda * Add yq flag on Mac * Correct copy instructions * Use cURL on Windows * Call bzip2 directly due to msys2/MSYS2-packages#1548 * Copy ffmpeg binaries to system-wide directories * Try to use std:c++17 on Windows * Try to define ssize_t on Windows * Use C++14 * Declare AVRational structs explicitly * Initialize AVRational explicitly * Replace macro to prevent errors on Windows * Replace AV_TIME_BASE_Q * Add library paths for video extension * Force ffmpeg from pytorch channels? * Fix clang style warnings * Update CONDA_CHANNEL_FLAGS * Fix clang style issues * Update unittest * Use FFmpeg 4.2 * Install correct version on Mac * Pin av version to 8.0.0 * Fix string formatting issue * Fix pip pinning * Try with 8.0.1 * Use av 8.0.2 * Remove trailling whitespaces * Disable test_io_opt.py * Disable test_datasets_video_utils Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Francisco Massa authored
-
Edgar Andrés Margffoy Tuay authored
* Expose image io functions in docs * Expose image funcs in module * Update docstring * Update docstrings for all functions * Update section header
-
Francisco Massa authored
* Add read_file * Add test for non-existent file * Fix lint * Lint v2 * Try fix windows * Try fix Windows v2 * Lint * Windows v3 * Missed one change in the adapted function * Try again on Windows * One more try on Windows * Give up on tempfile for now * Are extensions what's missing on Windows? * Investigating if the issue is on our side * Try deleting tensor which could hold into the file * Put back temporary folder
-
- 05 Oct, 2020 6 commits
-
-
James Thewlis authored
* Negative padding for functional_tensor symmetric Along with #2744 this will make negative padding uniform between PIL and Tensor #2381 * Enable tests for negative symmetric pad with tensor Co-authored-by:vfdev <vfdev.5@gmail.com>
-
Philip Meier authored
* add download tests for CIFAR * fix tests in case of bad request
-
vfdev authored
* make convert_image_dtype scriptable * move convert dtype to functional_tensor since only works on tensors * retain availability of convert_image_dtype in functional.py * Update code and tests * Replaced int by torch.dtype * int -> torch.dtype and use F instead of F_t * Update functional_tensor.py * Added CPU/CUDA+batch tests * Fixed tests according to review Co-authored-by:Brian <nairbv@yahoo.com>
-
vfdev authored
- Fixed incorrect docs layout and a warning
-
peterjc123 authored
* Fix cmake cuda build for Windows * add gpu test jobs * Update .circleci/regenerate.py Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Brian Vaughan authored
* make convert_image_dtype scriptable * move convert dtype to functional_tensor since only works on tensors * retain availability of convert_image_dtype in functional.py * Update code and tests * Replaced int by torch.dtype * int -> torch.dtype and use F instead of F_t * Update functional_tensor.py Co-authored-by:vfdev-5 <vfdev.5@gmail.com>
-
- 03 Oct, 2020 1 commit
-
-
James Thewlis authored
* Negative padding for functional_pil #2381 * Tests for PIL negative padding #2381 * Move PIL vs tensor test inside test_pad * Adapt test_pad from test_transforms_tensor.py Co-authored-by:vfdev <vfdev.5@gmail.com>
-
- 02 Oct, 2020 1 commit
-
-
Francisco Massa authored
-
- 01 Oct, 2020 3 commits
-
-
xkszltl authored
This is to workaround CMake 3.18.3 bug with a bad regex, which happens to be valid with new parser. Since probably any distro with CMake 3 won't stuck with 3.0, there shall be no real impact with this increase. Fix https://github.com/pytorch/vision/issues/2701
-
Aditya Oke authored
* adds boxes conversion * adds documentation * adds xywh tests * fixes small typo * adds tests * Remove sphinx theme * corrects assertions * cleans code as per suggestion Signed-off-by:
Aditya Oke <okeaditya315@gmail.com> * reverts assertion * fixes to assertEqual * fixes inplace operations * Adds docstrings * added documentation * changes tests * moves code to box_convert * adds more tests * Apply suggestions from code review Let's leave those changes to a separate PR * fixes documentation Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
Edgar Andrés Margffoy Tuay authored
-
- 30 Sep, 2020 2 commits
-
-
vfdev authored
- Updated code and tests to support batch of tensors, e.g. input of shape (B, C, H, W).
-
Philip Meier authored
* add download tests for Caltech(101|256) * lint
-
- 29 Sep, 2020 6 commits
-
-
Francisco Massa authored
* Add macos unittest * Add wget
-
Qi authored
Change the default anchor generator settings to default Faster RCNN version(without FPN), so it is hopefully less misleading. Also add an assert to grad_anchors functions to make sure people use it as it is aspected.
-
vfdev authored
Otherwise, torch jit scripted function raises exception on save
-
Bruno Korbar authored
* Readme for video models. * Adressing @fmassa comments Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Edgar Andrés Margffoy Tuay authored
* Add encode/write_png functions * Do not redefine * Style issues correction * Comply with low-level interface * Minor comment correction * Add python frontend functions * Add encode_png test * Pass compession level to encode_png * Do not compare output buffers * Convert to bytes * Compare pil image instead of buffer * Add error tests * Add test_write_png * Remove png test assets * Register writePNG correctly * Update write_png docstring * Do not preserve PIL image beyond the scope Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Edgar Andrés Margffoy Tuay authored
-
- 28 Sep, 2020 4 commits
-
-
Francisco Massa authored
* Add decode_image op * Fix lint * More lint * Add C10_EXPORT
-
Philip Meier authored
* fix triggers for scheduled workflow * more fix * add missing repository checkout * try fix label in template * rewrite test infrastructure * trigger issue generation * try fix issue template * try remove quotes * remove buggy label * try fix title * cleanup * add more test details * reenable issue creation Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Francisco Massa authored
This reverts commit 81d76487.
-
Philip Meier authored
-
- 25 Sep, 2020 1 commit
-
-
Edgar Andrés Margffoy Tuay authored
* Add decode and write JPEG ops * Fix styling issues * Use int64_t instead of int * Use std::string * Use jpegcommon.h for read_jpeg * Minor updates to error handling in read * Include header only once * Reverse header inclusion * Update common header * Add common definitions * Include string * Include header? * Include header? * Add Python frontend calls * Use unsigned long directly * Fix style issues * Include cstddef * Ignore clang-format on cstddef * Also include stdio * Add JPEG and PNG include dirs * Use C10_EXPORT * Add JPEG encoding test * Set quality to 75 by default and add write jpeg test * Minor error correction * Use assertEquals by assertEqual * Remove test results * Use pre-saved PIL output * Remove extra PIL call * Use read_jpeg instead of PIL * Add error tests * Address review comments * Fix style issues * Set test case to uint8 * Update test error check * Apply suggestions from code review * Fix clang-format * Fix lint * Fix test * Remove unused file * Fix regex error message * Fix tests Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 24 Sep, 2020 3 commits
-
-
Aditya Oke authored
* tries adding genaralized_iou * fixes linting * Adds docs for giou, iou and box area * fixes lint * removes docs to fixup in other PR * linter fix * Cleans comments * Adds tests for box area, iou and giou * typo fix for testCase * fixes typo * fixes box area test * fixes implementation * updates tests to tolerance
-
Francisco Massa authored
Replace nonzero by where, now that it works with just a condition
-
Philip Meier authored
-
- 23 Sep, 2020 1 commit
-
-
vfdev authored
* [WIP] All transforms are now derived from torch.nn.Module - Compose, RandomApply, Normalize can be jit scripted * Fixed flake8 * Updated code and docs - added getattr to Lambda and tests - updated code and docs of Compose - added failing test with append/extend on Composed.transforms * Fixed flake8 * Updated code, tests and docs
-
- 22 Sep, 2020 6 commits
-
-
Philip Meier authored
* partially enable mypy for .models * fix existing errors * ignore error instead of using Union
-
Philip Meier authored
* run download tests on a daily schedule * add blank line * add issue template as workflow trigger * try broaden workflow triggers * run scheduled test after nightlies are published * try remove schedule as workflow trigger * restore workflow triggers * cleanup * Revert "remove dummy workflow" This reverts commit d094e4bf2c3da2392bf1298450b97d9d63a15bfc. * cleanup
-
Francisco Massa authored
This reverts commit cd4761f4.
-
vfdev authored
* Refactor transforms input checks - added _setup_size to check and setup size argument * More refactor
-
vfdev authored
-
Philip Meier authored
-