Skip to content
Permalink
Browse files

fix(request_generator): send index request in index mode

  • Loading branch information...
jemmyshin committed Aug 13, 2019
1 parent 64163cb commit fd76aa79b75ccb68fa3c345306d148cc21de44a7
Showing with 1 addition and 1 deletion.
  1. +1 −1 gnes/client/cli.py
@@ -45,7 +45,7 @@ def __init__(self, args):
resp = list(stub.StreamCall(RequestGenerator.train(all_bytes, args.batch_size)))[-1]
print(resp)
elif args.mode == 'index':
resp = list(stub.StreamCall(RequestGenerator.train(all_bytes, args.batch_size)))[-1]
resp = list(stub.StreamCall(RequestGenerator.index(all_bytes, args.batch_size)))[-1]
print(resp)
elif args.mode == 'query':
for idx, q in enumerate(all_bytes):

0 comments on commit fd76aa7

Please sign in to comment.
You can’t perform that action at this time.