Skip to content

Commit

Permalink
polish docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamerlin committed Jul 26, 2020
1 parent a9a9d9b commit 4191f26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mmaction/apis/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ def inference_recognizer(model, video_path, label_path, use_frames=False):
Args:
model (nn.Module): The loaded recognizer.
video_path (str): The video file path or the rawframes path.
video_path (str): The video file path or the rawframes directory path.
If ``use_frames`` is set to True, it should be rawframes directory
path. Otherwise, it should be video file path.
label_path (str): The label file path.
use_frames (bool): Whether to use rawframes as input. Default:False.
Expand Down

0 comments on commit 4191f26

Please # to comment.