Skip to content

Commit df8f9b7

Browse files
author
wz
committed
remove assert for AnchorsGenerator
1 parent 7f1f871 commit df8f9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_object_detection/mask_rcnn/network_files/faster_rcnn_framework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def __init__(self, backbone, num_classes=None,
269269
"same for all the levels"
270270
)
271271

272-
assert isinstance(rpn_anchor_generator, (AnchorsGenerator, type(None)))
272+
# assert isinstance(rpn_anchor_generator, (AnchorsGenerator, type(None)))
273273
assert isinstance(box_roi_pool, (MultiScaleRoIAlign, type(None)))
274274

275275
if num_classes is not None:

0 commit comments

Comments
 (0)