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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ Options:
119
119
--format=FORMAT format of the output (table or csv) for predict mode [default: csv]
120
120
--rank=RANK rank of the classification (kingdom, phylum, class, order, family, genus, species) [default: species]
121
121
--k=K number of top predictions to show [default: 5]
122
-
--cls=CLS comma separated list of classes to predict, when specified the --rank and --k arguments are not allowed
122
+
--cls=CLS classes to predict: either a comma separated list or a path to a text file of classes (one per line), when specified the --rank argument is not allowed.
123
123
--device=DEVICE device to use matrix math (cpu or cuda or mps) [default: cpu]
124
124
--output=OUTFILE print output to file OUTFILE [default: stdout]
help='rank of the classification, default: species (when)')
85
86
predict_parser.add_argument('--k', type=int, help='number of top predictions to show, default: 5')
86
-
predict_parser.add_argument('--cls', help='comma separated list of classes to predict, when specified the --rank argument is not allowed')
87
+
cls_help="classes to predict: either a comma separated list or a path to a text file of classes (one per line), when specified the --rank argument is not allowed."
0 commit comments