Spaces:
Build error
Build error
Update preprocess/detectron2/detectron2/modeling/box_regression.py
Browse files
preprocess/detectron2/detectron2/modeling/box_regression.py
CHANGED
|
@@ -116,7 +116,7 @@ class Box2BoxTransform:
|
|
| 116 |
return pred_boxes.reshape(deltas.shape)
|
| 117 |
|
| 118 |
|
| 119 |
-
@torch.jit.script
|
| 120 |
class Box2BoxTransformRotated:
|
| 121 |
"""
|
| 122 |
The box-to-box transform defined in Rotated R-CNN. The transformation is parameterized
|
|
|
|
| 116 |
return pred_boxes.reshape(deltas.shape)
|
| 117 |
|
| 118 |
|
| 119 |
+
# @torch.jit.script
|
| 120 |
class Box2BoxTransformRotated:
|
| 121 |
"""
|
| 122 |
The box-to-box transform defined in Rotated R-CNN. The transformation is parameterized
|