Commit 27ee0fff authored by thomwolf's avatar thomwolf
Browse files

add no_cuda args in extract_features

parent aa50fd19
...@@ -208,6 +208,10 @@ def main(): ...@@ -208,6 +208,10 @@ def main():
type=int, type=int,
default=-1, default=-1,
help = "local_rank for distributed training on gpus") help = "local_rank for distributed training on gpus")
parser.add_argument("--no_cuda",
default=False,
action='store_true',
help="Whether not to use CUDA when available")
args = parser.parse_args() args = parser.parse_args()
......
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