You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[RetinaNet] Image Converter and ObjectDetector (#1906)
* Rebased phase 1 changes
* Rebased phase 1 changes
* nit
* Retina Phase 2
* nit
* Expose Anchor Generator as layer, docstring correction and test correction
* nit
* Add missing args for prediction heads
* - Use FeaturePyramidBackbone cls for RetinaNet backbone.
- Correct test cases.
* fix decoding error
* - Add ground truth arg for RetinaNet model and remove source and target format from preprocessor
* nit
* Subclass Imageconverter and overload call method for object detection method
* Revert "Subclass Imageconverter and overload call method for object detection method"
This reverts commit 3b26d3a.
* add names to layers
* correct fpn coarser level as per torch retinanet model
* nit
* Polish Prediction head and fpn layers to include flags and norm layers
* nit
* nit
* add prior probability flag for prediction head to use it for classification head and user friendly
* compute_shape seems redudant here and correct layers for channels_first
* keep compute_output_shape for fpn
* nit
* Change AnchorGen Implementation as per torch
* correct the source format of anchors format
* use plain rescaling and normalization no resizing for od models as it can effect the bounding boxes and the ops i backend framework dependent
* use single bbox format for model
* - Add arg for encoding format
- Add required docstrings
- Use `center_xywh` encoding for retinanet as per torch weights
* make anchor generator optional
* init as layers for anchor generator and label encoder and as one more arg for prediction head configuration
* nit
* - only consider levels from min level to backbone maxlevel fro feature extraction from image encoder
* nit
* nit
* update resizing as per new keras3 resizing layer for bboxes
* Revert "update resizing as per new keras3 resizing layer for bboxes"
This reverts commit eb555ca.
* Add TODO's for keras bounding box ops
* Use keras layers to rescale and normalize
* check with plain values
* use convert_preprocessing_inputs function for basic operations as backend cause some gpu misplacement
* use keras for init variables
* modify task test for cases when test runs on gpu
* modify the order of steps
* fix tensor device placement error for torch backend
* this should fix error while image size is give and not given cases
* use numpy arrays
* make `yxyx` as default bbox format and some nit
* use image_size argument so that we dont break presets
* Add retinanet_resnet50_fpn_coco preset
* register retinanet presets
0 commit comments