Commit b9acff16 authored by Mingyao Li's avatar Mingyao Li Committed by Kai Chen
Browse files

fix annotation mistake according to (#1858) (#1899)

parent 47bab544
...@@ -129,8 +129,8 @@ class BaseDetector(nn.Module, metaclass=ABCMeta): ...@@ -129,8 +129,8 @@ class BaseDetector(nn.Module, metaclass=ABCMeta):
""" """
Calls either forward_train or forward_test depending on whether Calls either forward_train or forward_test depending on whether
return_loss=True. Note this setting will change the expected inputs. return_loss=True. Note this setting will change the expected inputs.
When `return_loss=False`, img and img_meta are single-nested (i.e. When `return_loss=True`, img and img_meta are single-nested (i.e.
Tensor and List[dict]), and when `resturn_loss=True`, img and img_meta Tensor and List[dict]), and when `resturn_loss=False`, img and img_meta
should be double nested (i.e. List[Tensor], List[List[dict]]), with should be double nested (i.e. List[Tensor], List[List[dict]]), with
the outer list indicating test time augmentations. the outer list indicating test time augmentations.
""" """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment