You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: libreface/commandline.py
+3-2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
1
importargparse
2
-
importos
3
2
4
3
fromlibrefaceimportget_facial_attributes
5
4
@@ -10,14 +9,16 @@ def main_func():
10
9
parser.add_argument("--output_path", type=str, default="sample_results.csv", help="Path to the csv where results should be saved. Defaults to 'sample_results.csv'")
11
10
parser.add_argument("--device", type=str, default="cpu", help="Device to use while inference. Can be 'cpu', 'cuda:0', 'cuda:1', ... Defaults to 'cpu'")
12
11
parser.add_argument("--temp", type=str, default="./tmp", help="Path where the temporary results for facial attributes can be saved.")
12
+
parser.add_argument("--num_workers", type=int, default=2, help="Number of workers to be used in the dataloader while doing inference on a video.")
0 commit comments