- 27 Nov, 2020 2 commits
-
-
Aditya Oke authored
* initital prototype * flake * Adds documentation * minimal working bboxes * Adds label display * adds colors :-) * adds suggestions and fixes CI * handles image of dim 4 * fixes image handling * removes dev file * adds suggested changes * Updating the API. * Update test. * Implementing code review improvements. * Further refactoring and adding test. * Replace random to white to reduce size and change font on tests. Co-authored-by:Vasilis Vryniotis <vvryniotis@fb.com>
-
Vasilis Vryniotis authored
Adding Python type hints, correcting incorrect types, removing unnecessary vars and simplifying code. (#3045)
-
- 26 Nov, 2020 1 commit
-
-
Santiago Castro authored
* Add a warning if a clip can't be get from a video in VideoClips * Update torchvision/datasets/video_utils.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Add a test Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
- 20 Nov, 2020 2 commits
-
-
Alexey Demyanchuk authored
* Add explicit check for number of channels Example why you need to check it: `M = torch.randint(low=0, high=2, size=(6, 64, 64), dtype = torch.float)` When you put this input through to_pil_image without mode argument, it converts to uint8 here: ``` if pic.is_floating_point() and mode != 'F': pic = pic.mul(255).byte() ``` and change the mode to RGB here: ``` if mode is None and npimg.dtype == np.uint8: mode = 'RGB' ``` Image.fromarray doesn't raise if provided with mode RGB and just cut number of channels from what you have to 3 * Check number of channels before processing * Add test for invalid number of channels * Add explicit check for number of channels Example why you need to check it: `M = torch.randint(low=0, high=2, size=(6, 64, 64), dtype = torch.float)` When you put this input through to_pil_image without mode argument, it converts to uint8 here: ``` if pic.is_floating_point() and mode != 'F': pic = pic.mul(255).byte() ``` and change the mode to RGB here: ``` if mode is None and npimg.dtype == np.uint8: mode = 'RGB' ``` Image.fromarray doesn't raise if provided with mode RGB and just cut number of channels from what you have to 3 * Check number of channels before processing * Add test for invalid number of channels * Put check after channel dim unsqueeze * Add test if error message is matching * Delete redundant code * Bug fix in checking for bad types Co-authored-by:Demyanchuk <demyanca@mh-hannover.local> Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
Philip Meier authored
-
- 19 Nov, 2020 3 commits
-
-
Vasilis Vryniotis authored
* Add support of mode and remove channels. * Replacing integer mode with define constants.
-
Vasilis Vryniotis authored
-
F-G Fernandez authored
* refactor: Fixed typing exception throwing issues with JIT * style: Added back mypy typing to forward * chore: Added back densenet module as mypy exception
-
- 18 Nov, 2020 2 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
* Adding output channels implementation for pngs. * Adding tests for png. * Adding channels in the API and documentation. * Fixing formatting. * Refactoring test_image.py to remove huge grace_hopper_517x606.pth file from assets and reduce duplicate code. Moving jpeg assets used by encode and write unit-tests on their separate folders. * Adding output channels implementation for jpegs. Fix asset locations. * Add tests for JPEG, adding the channels in the API and documentation and adding checks for inputs. * Changing folder for unit-test. * Fixing windows flakiness, removing duplicate test. * Replacing components to channels. * Adding reference for supporting CMYK. * Minor changes: num_components to output_components, adding comments, fixing variable name etc. * Reverting output_components to num_components. * Replacing decoding with generic method on tests. * Palette converted to Gray.
-
- 16 Nov, 2020 5 commits
-
-
Ashish Farmer authored
-
Milos authored
* Fix MNASNet docstrings so they are rendered correctly * Add dot after url link in models docstrings for consistency
-
Vasilis Vryniotis authored
* Removing python headers and code for Python2 compatibility. * Restoring python3 inits.
-
Vasilis Vryniotis authored
* ColorJitter gets its random params by calling get_params(). * Update arguments. * Styles. * Add description for Nones. * Chainging Nones to optional.
-
Haswanth Aekula authored
* [DOC] Added paper citation for DeformConv2d * Fixes Pylint error * Added citation of the previous paper
-
- 10 Nov, 2020 2 commits
-
-
Vasilis Vryniotis authored
* Add support of different color types in readpng. * Adding test images and unit-tests. * Use closest possible type. * Fix formatting.
-
Aditya Oke authored
-
- 09 Nov, 2020 5 commits
-
-
Vasilis Vryniotis authored
* Making quantized inception torchscriptable. * Adding a test. * Fix mypy warning.
-
Francisco Massa authored
* Remove model download from tests * Refactor trainable_layers checks in detection models * Bugfix * Finish tests and fixes * Fix lint
-
Vasilis Vryniotis authored
* Change children() to modules() to ensure init happens in all blocks. * Update expected values of all detection models. * Revert "Update expected values of all detection models." This reverts commit 050b64ae * Update expecting values.
-
Tongzhou Wang authored
* make_grid should not avoid DBZ by adding eps While this doesn't matter in most cases where the images is quantized to [0,255] afterwards, it still is not a faithful de-normalization. It is a simple change to make it use clamp instead. * fix max/min shadowing
-
Licht Takeuchi authored
* Add modulation input for DeformConv2D * lint * Patch for GPU CI * Remove bad cache on CI
-
- 06 Nov, 2020 5 commits
-
-
F-G Fernandez authored
* style: Added annotation typing for shufflenet * fix: Removed duplicate type hint * refactor: Removed un-necessary import * fix: Fixed constructor typing * style: Added black formatting on depthwise_conv * style: Fixed stage typing in shufflenet
-
Bruno Korbar authored
* initial docstring * Revert "initial docstring" This reverts commit 2bf68ca26e58096885901da0cfa330530974e731. * revert the formatting changes * clear up per Victor's comment * Addressing PR comments Co-authored-by:Bruno Korbar <korbar@vggdev9.vggdev.cluster>
-
F-G Fernandez authored
* style: Added annotation typing for densenet * fix: Fixed import * refactor: Removed un-necessary import * fix: Fixed constructor typing * chore: Updated mypy.ini * fix: Fixed tuple typing * style: Ignored some mypy errors * style: Fixed typing * fix: Added missing constructor typing
-
vfdev authored
- fixed problem with error computation between results - refactored tensor cast for resize - fixed round usage
-
Aditya Oke authored
* changes to value error * fixes it :) * simpler fix
-
- 04 Nov, 2020 1 commit
-
-
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 2 commits
-
-
Vasilis Vryniotis authored
* Overwriting FrozenBN eps=0.0 if pretrained=True for detection models. * Moving the method to detection utils and adding comments.
-
Vasilis Vryniotis authored
* Making all model constructors explicit. * formatting.
-
- 02 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
-
- 30 Oct, 2020 9 commits
-
-
Bruno Korbar authored
* Modified the example to conform with the new DICT return. * adding better stream documentation to examples * Clearing up some documentation as a result of a feedback * Formatting mostly * Addressing Victor's comments. * addressing fmassas comments * remove unnecessary tab Co-authored-by:
Bruno Korbar <korbar@vggdev9.vggdev.cluster> Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
Vasilis Vryniotis authored
* Fixing types. * Dispatcher + Autocast. * + Autograd. * Formating. * Clean up and refactor PSROIPool implementation: - Remove primitive const declaration from method names. - Using references when possible. - Fix variable naming. * Restore include headers. * New line at end of file. * Resolving conflict, final cleanup, ordering method consistently across files.
-
Vasilis Vryniotis authored
* Fixing types. * Dispatcher + Autocast. * + Autograd. * Formating. * Fixing return casting with autocast. * Clean up and refactor ROIPool implementation: - Remove primitive const declaration from method names. - Using references when possible. * Restore include headers. * New line at end of file.
-
Vasilis Vryniotis authored
* Clean up and refactor ROIAlign implementation: - Remove primitive const declaration from method names. - Passing as const ref instead of value where possible. - Remove unnecessary headers. * Adding back include for cpu. * Restore include headers.
-
Vasilis Vryniotis authored
* Fixing types. * Dispatcher + Autocast. * + Autograd. * Clean up and refactor PSROIAlign implementation: - Remove primitive const declaration from method names. - Using references when possible. - Sync naming of internal methods with other ops. * Restoring names of internal methods to avoid conflicts. * Restore include headers.
-
Vasilis Vryniotis authored
* Clean up and refactor DeformConv implementation: - Remove primitive const declaration from method names. - Passing as const ref instead of value where possible. - Aligning method names between cpu and cuda. * Adding newline. * Adding back include for cpu. * Restoring method names of private methods to avoid conflicts. * Restore include headers.
-
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.
-
Vasilis Vryniotis authored
* Clean up and refactor ROIAlign implementation: - Remove primitive const declaration from method names. - Remove unnecessary headers. - Aligning method names between cpu and cuda. * Adding back include for cpu. * Restoring method names of private methods to avoid conflicts. * Restore include headers.
-
vfdev authored
- Replaced tuple creation by one acceptable by majority of compilers
-