- 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
-
- 14 May, 2020 2 commits
-
-
Vishwak Srinivasan authored
-
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
-
- 07 May, 2020 2 commits
-
-
Francisco Massa authored
* Fix mypy type annotations * follow torchscript Tuple type * redefine torch_choice output type * change the type in cached_grid_anchors * minor bug Co-authored-by:
Guanheng Zhang <zhangguanheng@devfair0197.h2.fair> Co-authored-by:
Guanheng Zhang <zhangguanheng@learnfair0341.h2.fair>
-
Negin Raoof authored
* Fixing nms on boxes when no detection * test * Fix for scale_factor computation * remove newline * Fix for mask_rcnn dynanmic axes * Clean up * Update transform.py * Fix for torchscript * Fix scripting errors * Fix annotation * Fix lint * Fix annotation * Fix for interpolate scripting * Fix for scripting * refactoring * refactor the code * Fix annotation * Fixed annotations * Added test for resize * lint * format * bump ORT * ort-nightly version * Going to ort 1.1.0 * remove version * install typing-extension * Export model for images with no detection * Upgrade ort nightly * update ORT * Update test_onnx.py * updated tests * Updated tests * merge * Update transforms.py * Update cityscapes.py * Update celeba.py * Update caltech.py * Update pkg_helpers.bash * Clean up * Clean up for dynamic split * Remove extra casts * flake8
-
- 05 May, 2020 2 commits
-
-
Ashish Malhotra authored
-
Bisakh Mondal authored
-
- 04 May, 2020 1 commit
-
-
Arash Javanmard authored
At the moment in the ASPP-Layer the number of output channels are predefined as a constant, which is good for DeepLab but not necessairly in other projects, where another out-channel Nr. is required. Also the number of "atrous rates" is fixed to three, which also could be sometimes more or less depending on the notwork-arch. Again these fixed values may make sense in DeepLab-Model but not necessarily in other type of models. This pull-req. contains the needed changes to make ASPP-Layer generic.
-
- 28 Apr, 2020 1 commit
-
-
Jackson Liu authored
-
- 24 Apr, 2020 1 commit
-
-
Potter Hsu authored
* For detection model, replace L1 loss with beta smooth L1 loss to achieve better performance. * Add type annotations for torchscript * Resolve E226
-
- 21 Apr, 2020 1 commit
-
-
Negin Raoof authored
* Fixing nms on boxes when no detection * test * Fix for scale_factor computation * remove newline * Fix for mask_rcnn dynanmic axes * Clean up * Update transform.py * Fix for torchscript * Fix scripting errors * Fix annotation * Fix lint * Fix annotation * Fix for interpolate scripting * Fix for scripting * refactoring * refactor the code * Fix annotation * Fixed annotations * Added test for resize * lint * format * bump ORT * ort-nightly version * Going to ort 1.1.0 * remove version * install typing-extension
-
- 14 Apr, 2020 1 commit
-
-
theotheo authored
-
- 10 Apr, 2020 1 commit
-
-
moto authored
-
- 09 Apr, 2020 1 commit
-
-
Luan Pham authored
-
- 06 Apr, 2020 1 commit
-
-
Yonghye Kwon authored
cleanup
-
- 03 Apr, 2020 1 commit
-
-
Francisco Massa authored
* Add CircleCI job for python lint * Break lint * Fix * Fix lint * Re-enable all tests and remove travis python lint
-
- 31 Mar, 2020 2 commits
-
-
Negin Raoof authored
* fixes and tests for variable input size * transform test fix * Fix comment * Dynamic shape for keypoint_rcnn * Update test_onnx.py * Update rpn.py * Fix for split on RPN * Fixes for feedbacks * flake8 * topk fix * Fix build * branch on tracing * fix for scalar tensor * Fixes for script type annotations * Update rpn.py * clean up * clean up * Update rpn.py * Updated for feedback * Fix for comments * revert to use tensor * Added test for box clip * Fixes for feedback * Fix for feedback * ORT version revert * Update ort * Update .travis.yml * Update test_onnx.py * Update test_onnx.py * Tensor sizes * Fix for dynamic split * Try disable tests * pytest verbose * revert one test * enable tests * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update test_onnx.py * Update .travis.yml * Passing device * Fixes for test * Fix for boxes datatype * clean up Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
* remove sys.version_info == 2 * remove sys.version_info < 3 * remove from __future__ imports
-
- 20 Mar, 2020 1 commit
-
-
Monica Alfaro authored
* modified FasterRCNN to accept negative samples * remove debug lines * Change torch.zeros_like to torch.zerros * Add unit tests * take the `device` into account Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 16 Mar, 2020 1 commit
-
-
Charles Pao authored
Co-authored-by:Charles Pao <dirtybluer@gmail.com>
-
- 13 Mar, 2020 2 commits
-
-
Ailing authored
-
Jerry Zhang authored
https://github.com/pytorch/vision/pull/1949 seems to forget fixing quantized googlenet
-
- 12 Mar, 2020 2 commits
-
-
hx89 authored
* update model path * remove autologits before loading quantized model
-
NVS Abhilash authored
-
- 11 Mar, 2020 1 commit
-
-
Lutz Roeder authored
-
- 10 Mar, 2020 3 commits
-
-
Soham Tamba authored
-
hx89 authored
-
eellison authored
* fix googlenet no aux logits * small fix Co-authored-by:eellison <eellison@fb.com>
-
- 04 Mar, 2020 2 commits
-
-
Philip Meier authored
-
Shuaizhen Jing authored
-
- 25 Feb, 2020 1 commit
-
-
Lutz Roeder authored
-
- 14 Feb, 2020 1 commit
-
-
Robylyon93 authored
* docs for faster+mask rcnn coords is clearer * keypoint rcnn coords format is clearer Co-authored-by:rvirgolireply <51229032+rvirgolireply@users.noreply.github.com>
-
- 13 Feb, 2020 2 commits
-
-
Robylyon93 authored
Co-authored-by:rvirgolireply <51229032+rvirgolireply@users.noreply.github.com>
-
talcs authored
* replaced mean on dimensions 2,3 by adaptive_avg_pooling2d with destination of 1, to remove hardcoded dimension ordering * replaced reshape command by torch.squeeze after global_avg_pool2d, which is cleaner * reshape rather than squeeze for BS=1 * remove import torch
-
- 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
-
- 30 Jan, 2020 1 commit
-
-
os-gabe authored
-
- 27 Jan, 2020 1 commit
-
-
eellison authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 22 Jan, 2020 1 commit
-
-
Ebey Abraham authored
-
- 17 Jan, 2020 1 commit
-
-
Marco Martinelli authored
* Type of input featmap_names fixed in example. * Added missing imports.
-
- 16 Jan, 2020 1 commit
-
-
Lara Haidar authored
* update doc * update doc
-