Skip to content

Commit

Permalink
Predictor args
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfisch committed Mar 10, 2018
1 parent 4180963 commit c405826
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/reader/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
logger.info('Running on CPU only.')

predictor = Predictor(
args.model,
args.tokenizer,
args.embedding_file,
args.num_workers,
model=args.model,
tokenizer=args.tokenizer,
embedding_file=args.embedding_file,
num_workers=args.num_workers,
)
if args.cuda:
predictor.cuda()
Expand Down

0 comments on commit c405826

Please sign in to comment.