Skip to content

Commit 1fa08d9

Browse files
tensorflower-gardenerlaxmareddyp
authored andcommitted
No public description
PiperOrigin-RevId: 555651194
1 parent 7c9166c commit 1fa08d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

official/vision/configs/retinanet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class DetectionGenerator(hyperparams.Config):
154154
use_class_agnostic_nms: Optional[bool] = False
155155
# Weights or scales when encode and decode boxes coordinates. For Faster RCNN,
156156
# the open-source implementation recommends using [10.0, 10.0, 5.0, 5.0].
157-
box_coder_weights: list[float] | None = None
157+
box_coder_weights: Optional[List[float]] = None
158158

159159

160160
@dataclasses.dataclass

0 commit comments

Comments
 (0)