- 06 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Simplify the ACCEPT=True logic in assertExpected(). * Separate the expected filename estimation from assertExpected * Unflatten expected values. * Assert for duplicate scores if primary check fails. * Remove custom exceptions for algorithms and add a compact function for shrinking large ouputs. * Removing unused variables. * Add warning and comments. * Re-enable all autocast unit-test for detection and marking the tests as skipped in partial validation. * Move test skip at the end. * Changing the warning message.
-
- 05 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Simplify the ACCEPT=True logic in assertExpected(). * Separate the expected filename estimation from assertExpected
-
- 04 Nov, 2020 2 commits
-
-
Philip Meier authored
-
peterjc123 authored
* Make read_file accept unicode strings on Windows * More fixes * Remove definitions from source files * Move string definitions to header * Add checks * Fix comments * Update macro * Fix comments * Fix lint * include windows header * Change func signature in header * Use from_blob * Fix fread calls * Fix clang format * Fix missing return * Avoid copy
-
- 03 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Overwriting FrozenBN eps=0.0 if pretrained=True for detection models. * Moving the method to detection utils and adding comments.
-
- 30 Oct, 2020 2 commits
-
-
Vasilis Vryniotis authored
* Moving Autocast mtest in RoiOpTester. * Adding autocast test on DeformConvTester. * Adding autocast test on NMSTester. * Fixing styles.
-
Vasilis Vryniotis authored
* Change default eps value of FrozenBN. * Update the unit-tests.` * Update the expected values. * Revert the expected value and use original eps=0 value for flaky tests. * Post init change of eps. * Styles.
-
- 22 Oct, 2020 2 commits
- 21 Oct, 2020 3 commits
-
-
Philip Meier authored
-
F-G Fernandez authored
* feat: Updated FrozenBN eps to align with BatchNorm * feat: Added eps to __repr__ of FrozenBN * test: Updated unittest of __repr__ for FrozenBN * test: Updated unittest for eps value in BN and FrozenBN * fix: Revert FrozenBN eps value * test: Revert test on eps alignment between FrozenBN and BN
-
F-G Fernandez authored
* feat: Added __repr__ to MultiScaleRoIAlign * test: Added unittest for __repr__ of MultiScaleRoIAlign * feat: Added feature map names in __repr__ * test: Updated unittest Co-authored-by:vfdev <vfdev.5@gmail.com>
-
- 20 Oct, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Vectorize operations, across all feaure levels. * Remove unnecessary other_outputs variable. * Split per feature level. * Perform batched_nms across feature levels. * Add extra parameter for limiting detections before and after nms. * Restoring default threshold. * Apply suggestions from code review Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> * Renaming variable. Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 16 Oct, 2020 2 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
* Modify expected value and threshold for retinanet unit-test. * Disable tests on GPU Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 14 Oct, 2020 3 commits
-
-
Vasilis Vryniotis authored
* Removing unnecessary variable. * Refactoring common_utils.py to remove unused vars. * Removing unused value and changing use of accept_output. Co-authored-by:
vfdev <vfdev.5@gmail.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
vfdev authored
-
vfdev authored
-
- 13 Oct, 2020 2 commits
-
-
Bruno Korbar authored
* Video reader now returns dicts * docs update * Minor improvements Co-authored-by:
Bruno Korbar <bjuncek@Frazz.local> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
Francisco Massa authored
* Add rough implementation of RetinaNet. * Move AnchorGenerator to a seperate file. * Move box similarity to Matcher. * Expose extra blocks in FPN. * Expose retinanet in __init__.py. * Use P6 and P7 in FPN for retinanet. * Use parameters from retinanet for anchor generation. * General fixes for retinanet model. * Implement loss for retinanet heads. * Output reshaped outputs from retinanet heads. * Add postprocessing of detections. * Small fixes. * Remove unused argument. * Remove python2 invocation of super. * Add postprocessing for additional outputs. * Add missing import of ImageList. * Remove redundant import. * Simplify class correction. * Fix pylint warnings. * Remove the label adjustment for background class. * Set default score threshold to 0.05. * Add weight initialization for regression layer. * Allow training on images with no annotations. * Use smooth_l1_loss with beta value. * Add more typehints for TorchScript conversions. * Fix linting issues. * Fix type hints in postprocess_detections. * Fix type annotations for TorchScript. * Fix inconsistency with matched_idxs. * Add retinanet model test. * Add missing JIT annotations. * Remove redundant model construction Make tests pass * Fix bugs during training on newer PyTorch and unused params in DDP Needs cleanup and to add back support for images with no annotations * Cleanup resnet_fpn_backbone * Use L1 loss for regression Gives 1mAP improvement over smooth l1 * Disable support for images with no annotations Need to fix distributed first * Fix retinanet tests Need to deduplicate those box checks * Fix Lint * Add pretrained model * Add training info for retinanet Co-authored-by:
Hans Gaiser <hansg91@gmail.com> Co-authored-by:
Hans Gaiser <hans.gaiser@robovalley.com> Co-authored-by:
Hans Gaiser <hans.gaiser@robohouse.com>
-
- 12 Oct, 2020 1 commit
-
-
Francisco Massa authored
* Minor improvements to VideoReader * update jupyter notebook with new naming Co-authored-by:Bruno Korbar <bjuncek@gmail.com>
-
- 11 Oct, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Adding checks on forward and backward passes. * Adding unit-tests.
-
- 09 Oct, 2020 1 commit
-
-
Bruno Korbar authored
* initial API documentation attempt * test the docs * initial commit * updating test to match the registration * adding the warning on unsucessful import * Try to do conditional import * Simple fix? * clearing up docs * docstring commit * Adding types in arguments Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> * reverting warning commit * addressing Francisco's comments * Apply suggestions from code review Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> * Revert "reverting warning commit" This reverts commit bd1a3dd4f3b97709ab59c744962e11174757f8ce. * Revert "adding the warning on unsucessful import" This reverts commit afef7df9eaa73bf80246e6d9114cb4c30b16f0ce. * remove warnings import Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 07 Oct, 2020 6 commits
-
-
peterjc123 authored
* Improve read_file for Windows * Fix lint * Use _stat64 instead * Apply suggesion * Fix lint
-
vfdev authored
-
Tejan Karmali authored
* Added GaussianBlur transform * fixed linting * supports fixed radius for kernel * [WIP] New API for gaussian_blur * Gaussian blur with kernelsize and sigma API * Fixed implementation and updated tests * Added large input case and refactored gt into a file * Updated docs * fix kernel dimesnions order while creating kernel * added tests for exception handling of gaussian blur * fix linting, bug in tests * Fixed failing tests, refactored code and other minor fixes Co-authored-by:vfdev-5 <vfdev.5@gmail.com>
-
Bruno Korbar authored
* adding base files * setup modification to actually build the thing * video api constructor registration * FAIL metadata * FAIL update for QS * revert * debugging with Victor * adding base files * setup modification to actually build the thing * video api constructor registration * FAIL metadata * FAIL update for QS * revert * debugging with Victor * metadata registration works * API build next * test * Merge change * formatting parameters to avoid the segfault * next now works on a video * make size of the output tensor format dependent * Make next work on audio stream only as well * refactoring the _setCurrentStream param * Fixing the last frame return and sensor * todo docs * Formatting * cleanup and comments * introducing new tests for the API * cleanup * Comment out unnecesary format (will add following FFMPEG fix) * Reformat parsing function * removing the seek bug `get_decoder_params` * Removing unnecessary code/variables * enforce RGB24 as a reading format (will crash before ffmpeg fix) * permute the dimensions to return (RGB x H x W) * Changing the return type to std::tuple<torch::Tensor, double> as opposed to tensor list * Adjusting tests for the new return type * remove unnecessary jitter * clangangangang * Metadata return changes (#1) * remove implicit calls to set a current stream (#2) * Adding new tests to check the accuracy of the seek * cleanup debugging statements * adding base files * setup modification to actually build the thing * video api constructor registration * FAIL metadata * FAIL update for QS * revert * debugging with Victor * adding base files * video api constructor registration * FAIL metadata * FAIL update for QS * revert * debugging with Victor * metadata registration works * API build next * test * Merge change * formatting parameters to avoid the segfault * next now works on a video * make size of the output tensor format dependent * Make next work on audio stream only as well * refactoring the _setCurrentStream param * Fixing the last frame return and sensor * todo docs * Formatting * cleanup and comments * introducing new tests for the API * cleanup * Comment out unnecesary format (will add following FFMPEG fix) * Reformat parsing function * removing the seek bug `get_decoder_params` * Removing unnecessary code/variables * enforce RGB24 as a reading format (will crash before ffmpeg fix) * permute the dimensions to return (RGB x H x W) * Changing the return type to std::tuple<torch::Tensor, double> as opposed to tensor list * Adjusting tests for the new return type * remove unnecessary jitter * clangangangang * Metadata return changes (#1) * remove implicit calls to set a current stream (#2) * Adding new tests to check the accuracy of the seek * cleanup debugging statements * Addressing PR comments * addressing Francisco's comments * CLANG build formatting * Updated testing to test against pyav for the video tensor reads * Formatting * remove pyav from pip deps and add it to conda build * add pyav and ffmeped to conda builds * Formatting? * Setting up linter once and for all hopefully * Testing pyav * Fix to 8.0.0 * Try 6.2.0 * See what happens with av from pip * Remove FFMPEG blocker * What is going on? * More tests * Forgot something * unblocker * Check if cache is messing up with things * Now try with different ffmpeg * Now try with different ffmpeg * Testing pyav * Fix to 8.0.0 * Try 6.2.0 * See what happens with av from pip * What is going on? * More tests * Forgot something * Check if cache is messing up with things * Now try with different ffmpeg * Now try with different ffmpeg * Do not install av * Test with ffmpeg 4.2 * clean up video tests * cleaning up the tests a bit to better test partial reading * arrgh linter * Forgot the av test * forgot av test * checkout build files from master * revert circleci * addressing Franciscos comments * addressing Franciscos comments * Ignore ffmpeg in travis Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> Co-authored-by:
Edgar Andrés Margffoy Tuay <andfoy@gmail.com>
-
vfdev authored
-
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 4 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
-
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 4 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>
-
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>
-
- 01 Oct, 2020 1 commit
-
-
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>
-
- 30 Sep, 2020 1 commit
-
-
vfdev authored
- Updated code and tests to support batch of tensors, e.g. input of shape (B, C, H, W).
-