mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
fix lint
This commit is contained in:
parent
52fd08febd
commit
dff06eeacc
@ -1,7 +1,6 @@
|
||||
import torch
|
||||
|
||||
import mmdeploy
|
||||
|
||||
from mmdeploy.utils import FUNCTION_REWRITERS, is_dynamic_shape
|
||||
|
||||
|
||||
@ -67,7 +66,7 @@ def anchor_head_get_bboxes(rewriter,
|
||||
if self.use_sigmoid_cls:
|
||||
max_scores, _ = scores.max(-1)
|
||||
else:
|
||||
|
||||
|
||||
# remind that we set FG labels to [0, num_class-1]
|
||||
# since mmdet v2.0
|
||||
# BG cat_id: num_class
|
||||
|
Loading…
x
Reference in New Issue
Block a user