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
i am trying to execute python utils/vocab.py getting an error "Traceback (most recent call last):
File "utils/vocab.py", line 144, in
vocab = build_vocab(args.questions, args.cat2ans, args.threshold)
File "utils/vocab.py", line 93, in build_vocab
answer = tokenize(answer.encode('utf8'))
AttributeError: 'dict' object has no attribute 'encode'"
can you help me to resolve this issue...
Thanks & Regards,
Manikantha Sekhar...
The text was updated successfully, but these errors were encountered:
Hi @ranjaykrishna ,
i am trying to execute python utils/vocab.py getting an error
"Traceback (most recent call last):
File "utils/vocab.py", line 144, in
vocab = build_vocab(args.questions, args.cat2ans, args.threshold)
File "utils/vocab.py", line 93, in build_vocab
answer = tokenize(answer.encode('utf8'))
AttributeError: 'dict' object has no attribute 'encode'"
can you help me to resolve this issue...
Thanks & Regards,
Manikantha Sekhar...
The text was updated successfully, but these errors were encountered: