- 26 May, 2021 1 commit
-
-
Vasilis Vryniotis authored
Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 24 May, 2021 1 commit
-
-
Nicolas Hug authored
Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
- 11 May, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Partial implementation of SSDlite. * Add normal init and BN hyperparams. * Refactor to keep JIT happy * Completed SSDlite. * Fix lint * Update todos * Add expected file in repo. * Use C4 expansion instead of C4 output. * Change scales formula for Default Boxes. * Add cosine annealing on trainer. * Make T_max count epochs. * Fix test and handle corner-case. * Add support of support width_mult * Add ssdlite presets. * Change ReLU6, [-1,1] rescaling, backbone init & no pretraining. * Use _reduced_tail=True. * Add sync BN support. * Adding the best config along with its weights and documentation. * Make mean/std configurable. * Fix not implemented for half exception
-
- 04 May, 2021 1 commit
-
-
Nicolas Hug authored
-
- 30 Apr, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Early skeleton of API. * Adding MultiFeatureMap and vgg16 backbone. * Making vgg16 backbone same as paper. * Making code generic to support all vggs. * Moving vgg's extra layers a separate class + L2 scaling. * Adding header vgg layers. * Fix maxpool patching. * Refactoring code to allow for support of different backbones & sizes: - Skeleton for Default Boxes generator class - Dynamic estimation of configuration when possible - Addition of types * Complete the implementation of DefaultBox generator. * Replace randn with empty. * Minor refactoring * Making clamping between 0 and 1 optional. * Change xywh to xyxy encoding. * Adding parameters and reusing objects in constructor. * Temporarily inherit from Retina to avoid dup code. * Implement forward methods + temp workarounds to inherit from retina. * Inherit more methods from retinanet. * Fix type error. * Add Regression loss. * Fixing JIT issues. * Change JIT workaround to minimize new code. * Fixing initialization bug. * Add classification loss. * Update todos. * Add weight loading support. * Support SSD512. * Change kernel_size to get output size 1x1 * Add xavier init and refactoring. * Adding unit-tests and fixing JIT issues. * Add a test for dbox generator. * Remove unnecessary import. * Workaround on GeneralizedRCNNTransform to support fixed size input. * Remove unnecessary random calls from the test. * Remove more rand calls from the test. * change mapping and handling of empty labels * Fix JIT warnings. * Speed up loss. * Convert 0-1 dboxes to original size. * Fix warning. * Fix tests. * Update comments. * Fixing minor bugs. * Introduce a custom DBoxMatcher. * Minor refactoring * Move extra layer definition inside feature extractor. * handle no bias on init. * Remove fixed image size limitation * Change initialization values for bias of classification head. * Refactoring and update test file. * Adding ResNet backbone. * Minor refactoring. * Remove inheritance of retina and general refactoring. * SSD should fix the input size. * Fixing messages and comments. * Silently ignoring exception if test-only. * Update comments. * Update regression loss. * Restore Xavier init everywhere, update the negative sampling method, change the clipping approach. * Fixing tests. * Refactor to move the losses from the Head to the SSD. * Removing resnet50 ssd version. * Adding support for best performing backbone and its config. * Refactor and clean up the API. * Fix lint * Update todos and comments. * Adding RandomHorizontalFlip and RandomIoUCrop transforms. * Adding necessary checks to our tranforms. * Adding RandomZoomOut. * Adding RandomPhotometricDistort. * Moving Detection transforms to references. * Update presets * fix lint * leave compose and object * Adding scaling for completeness. * Adding params in the repr * Remove unnecessary import. * minor refactoring * Remove unnecessary call. * Give better names to DBox* classes * Port num_anchors estimation in generator * Remove rescaling and fix presets * Add the ability to pass a custom head and refactoring. * fix lint * Fix unit-test * Update todos. * Change mean values. * Change the default parameter of SSD to train the full VGG16 and remove the catch of exception for eval only. * Adding documentation * Adding weights and updating readmes. * Update the model weights with a more performing model. * Adding doc for head. * Restore import.
-
- 23 Apr, 2021 1 commit
-
-
Vasilis Vryniotis authored
-
- 21 Apr, 2021 1 commit
-
-
Nicolas Hug authored
* refactor test_models to use pytest * Also xfail the detection models * Remove xfail and just comment out expected failing parts * Comment out some more * put back commented checks * cleaning + comment * docs * void unnecessary changes * r2plus1d_18 seems to segfault on linux gpu?? * put back test, failure is unrelated Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 19 Apr, 2021 1 commit
-
-
Nicolas Hug authored
-
- 27 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Making _segm_resnet() generic and reusable. * Adding fcn and deeplabv3 directly on mobilenetv3 backbone. * Adding tests for segmentation models. * Rename is_strided with _is_cn. * Add dilation support on MobileNetV3 for Segmentation. * Add Lite R-ASPP with MobileNetV3 backbone. * Add pretrained model weights. * Removing model fcn_mobilenet_v3_large. * Adding docs and imports. * Fixing typo and readme.
-
- 25 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Modify segmentation tests compare against expected values. * Exclude flaky autocast tests. Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 19 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Tag fasterrcnn mobilenetv3 model with 320, add new inference config that makes it 2x faster sacrificing a bit of mAP. * Add a high resolution fasterrcnn mobilenetv3 model. * Update tests and expected values.
-
- 18 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Minor refactoring of a private method to make it reusuable. * Adding a FasterRCNN + MobileNetV3 with & w/o FPN models. * Reducing Resolution to 320-640 and anchor sizes to 16-256. * Increase anchor sizes. * Adding rpn score threshold param on the train script. * Adding trainable_backbone_layers param on the train script. * Adding rpn_score_thresh param directly in fasterrcnn_mobilenet_v3_large_fpn. * Remove fasterrcnn_mobilenet_v3_large prototype and update expected file. * Update documentation and adding weights. * Use buildin Identity. * Fix spelling.
-
- 14 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Add MobileNetV3 Architecture in TorchVision (#3182) * Adding implementation of network architecture * Adding rmsprop support on the train.py * Adding auto-augment and random-erase in the training scripts. * Adding support for reduced tail on MobileNetV3. * Tagging blocks with comments. * Adding documentation, pre-trained model URL and a minor refactoring. * Handling better untrained supported models.
-
- 04 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Speedup test_ucf101 (#2623 * Speedup Cmake builds (#3186) * Speedup test_autoaugment (#3190) * Speedup DeformConvTester (#3191) * Speedup InceptionV3 and GoogleNet on Windows (#3196)
-
- 30 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Correcting incorrect types * Add missing type statement * Fix type annotations in unittest * Fix TypeError * Fix TypeError * Fix type equality judgment * Fix recursive compile * Use string for class name annotation. Co-authored-by:zhiqiang <zhiqwang@outlook.com>
-
- 27 Nov, 2020 1 commit
-
-
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>
-
- 20 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Enable jit tests in all models and add warning if checkModule() tests are skipped. * Turning on JIT tests on CI. * Fixing broken unit-tests. * Refactoring and cleaning up duplicate code.
-
- 09 Nov, 2020 2 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
-
- 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.
-
- 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 1 commit
-
-
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.
-
- 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 1 commit
-
-
vfdev authored
-
- 09 Jul, 2020 1 commit
-
-
mcarilli authored
* Fixes Xiao's repro * Ports nms to use full dispatcher * Move HIPGuard to nms_cuda * clang-format * run models in test_models.py on GPU if available * Francisco's comment, also disable cuda model tests to see if CPU alone still passes * cuda tests now pass locally, although still not comparing to saved numerics * add note for thing to ask francisco * Allow cuda and cpu tests to share a data file * ignore suffix if unneeded * Skip autocast numerics checks for a few models * Add roi_align test Co-authored-by:Michael Carilli <mcarilli@nvidia.com>
-
- 29 May, 2020 2 commits
-
-
Michael Kösel authored
* Add norm_layer to MobileNetV2 * Add simple test case * Small fix
-
NVS Abhilash authored
-
- 21 May, 2020 1 commit
-
-
Ross Wightman authored
* Fix #2221, DenseNet issue with gradient checkpoints (memory_efficient=True) * Add grad/param count test for mem_efficient densenet
-
- 14 May, 2020 1 commit
-
-
Matheus Centa authored
* Check target boxes input on generalized_rcnn.py * Fix target box validation in generalized_rcnn.py * Add tests for input validation of detection models
-
- 10 Apr, 2020 1 commit
-
-
moto authored
-
- 10 Mar, 2020 1 commit
-
-
eellison authored
* fix googlenet no aux logits * small fix Co-authored-by:eellison <eellison@fb.com>
-
- 04 Feb, 2020 1 commit
-
-
F-G Fernandez authored
* feat: Added __repr__ attribute to GeneralizedRCNNTransform Added more details to default __repr__ attribute for printing. * fix: Put back relative imports * style: Fixed pep8 compliance Switched strings with syntax to f-strings. * test: Added test for GeneralizedRCNNTransform __repr__ Checked integrity of __repr__ attribute * test: Fixed unittest for __repr__ Fixed the formatted strings in the __repr__ integrity check for GeneralizedRCNNTransform * fix: Fixed f-strings for earlier python versions Switched back f-strings to .format syntax for Python3.5 compatibility. * fix: Fixed multi-line string Fixed multiple-line string syntax for compatibility * fix: Fixed GeneralizedRCNNTransform unittest Fixed formatting of min_size argument of the resizing part
-
- 13 Jan, 2020 1 commit
-
-
Francisco Massa authored
* Fix AnchorGenerator if moving from one device to another * Fixes for the test
-
- 30 Nov, 2019 1 commit
-
-
driazati authored
* Add tests for results in script vs eager mode This copies some logic from `test_jit.py` to check that a TorchScript'ed model's outputs are the same as outputs from the model in eager mode. To support differences in TorchScript / eager mode outputs, an `unwrapper` function can be provided per-model. * Fix inception, use PYTORCH_TEST_WITH_SLOW * Update * Remove assertNestedTensorObjectsEqual * Add PYTORCH_TEST_WITH_SLOW to CircleCI config * Add MaskRCNN unwrapper * fix prec args * Remove CI changes * update * Update * remove expect changes * Fix tolerance bug * Fix breakages * Fix quantized resnet * Fix merge errors and simplify code * DeepLabV3 has been fixed * Temporarily disable jit compilation
-
- 25 Nov, 2019 1 commit
-
-
eellison authored
* almost working... * respond to comments * add empty tensor op, handle different output types in generalized rcnn * clean ups * address comments * more changes * it's working! * torchscript bugs * add script/ eager test * eval script model * fix flake * division import * py2 compat * update test, fix arange bug * import division statement * fix linter * fixes * changes needed for JIT master * cleanups * remove imagelist_to * requested changes * Make FPN backwards-compatible and torchscript compatible We remove support for feature channels=0, but support for it was already a bit limited * Fix ONNX regression
-
- 22 Oct, 2019 1 commit
-
-
fbbradheintz authored
* correctness test implemented with old test architecture * reverted an unneeded change, ran flake8 * moving to relative tolerance of 1 part in 10k for classification correctness checks * going down to 1 part in 1000 for correctness checks bc architecture differences * one percent relative tolerance
-
- 18 Oct, 2019 1 commit
-
-
Francisco Massa authored
This reverts commit 1e857d93.
-
- 17 Oct, 2019 1 commit
-
-
fbbradheintz authored
* added correctness tests for classification models * refactored tests for extensibility & usability * flake8 fixes
-
- 02 Oct, 2019 1 commit
-
-
eellison authored
* add support for video resnet models, restructure script test to just ignore RCNN models * switch back to testing subset of the models
-