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'"
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...