We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36a57d2 commit 504fc3dCopy full SHA for 504fc3d
official/vision/modeling/layers/detection_generator.py
@@ -1128,7 +1128,7 @@ def __init__(
1128
nms_v3_refinements: Optional[int] = None,
1129
return_decoded: Optional[bool] = None,
1130
use_class_agnostic_nms: Optional[bool] = None,
1131
- box_coder_weights: list[float] | None = None,
+ box_coder_weights: Optional[list[float]] = None,
1132
**kwargs,
1133
):
1134
"""Initializes a multi-level detection generator.
0 commit comments