- 25 May, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Fix a bug when trainable_layers == 0 * Fix same issue on ssd.
-
- 15 Feb, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Avoid freezing bn1 if all layers are trainable. * Remove misleading comments.
-
- 29 Jan, 2021 1 commit
-
-
Nicolas Hug authored
* Document undodcumented parameters * remove setup.cfg changes * Properly pass normalize down instead of deprecating it * Fix flake8 * Add new CI check * Fix type spec * Leave normalize be part of kwargs Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 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.
-
- 19 Jan, 2021 1 commit
-
-
Vasilis Vryniotis authored
* Simplify code and remove used vars. * Simplify expressions and remove used parenthesis. * Jit fixes. * Making check more readable. * fixing styles
-
- 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.
-
- 22 Dec, 2020 1 commit
-
-
Samuel Marks authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 09 Nov, 2020 1 commit
-
-
Francisco Massa authored
* Remove model download from tests * Refactor trainable_layers checks in detection models * Bugfix * Finish tests and fixes * Fix lint
-
- 13 Oct, 2020 1 commit
-
-
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>
-
- 29 Jul, 2020 1 commit
-
-
Taras Savchyn authored
-
- 15 May, 2020 1 commit
-
-
Urwa Muaz authored
* freeze layers only if pretrained backbone is used If pretrained backbone is not used and one intends to train the entire network from scratch, no layers should be frozen. * function argument to control the trainable features Depending on the size of dataset one might want to control the number of tunable parameters in the backbone, and this parameter in hyper parameter optimization for the dataset. It would be nice to have this function support this. * ensuring tunable layer argument is valid * backbone freezing in fasterrcnn_resnet50_fpn Handle backbone freezing in fasterrcnn_resnet50_fpn function rather than the resnet_fpn_backbone function that it uses to get the backbone. * remove layer freezing code layer freezing code has been moved to fasterrcnn_resnet50_fpn function that consumes resnet_fpn_backbone function. * correcting linting errors * correcting linting errors * move freezing logic to resnet_fpn_backbone Moved layer freezing logic to resnet_fpn_backbone with an additional parameter. * remove layer freezing from fasterrcnn_resnet50_fpn Layer freezing logic has been moved to resnet_fpn_backbone. This function only ensures that the all layers are made trainable if pretrained models are not used. * update example resnet_fpn_backbone docs * correct typo in var name * correct indentation * adding test case for layer freezing in faster rcnn This PR adds functionality to specify the number of trainable layers while initializing the faster rcnn using fasterrcnn_resnet50_fpn function. This commits adds a test case to test this functionality. * updating layer freezing condition for clarity More information in PR * remove linting errors * removing linting errors * removing linting errors
-
- 09 Apr, 2020 1 commit
-
-
Luan Pham authored
-
- 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
-
- 23 Jul, 2019 1 commit
-
-
Kyryl Truskovskyi authored
* in_channels_stage2 from backbone.inplanes * remove type for backward compatible
-
- 20 May, 2019 1 commit
-
-
Francisco Massa authored
* Add more documentation for the ops * Add documentation for Faster R-CNN * Add documentation for Mask R-CNN and Keypoint R-CNN * Improve doc for RPN * Add basic doc for GeneralizedRCNNTransform * Lint fixes
-
- 19 May, 2019 1 commit
-
-
Francisco Massa authored
* Split mask_rcnn.py into several files * Lint
-