basic_vqa icon indicating copy to clipboard operation
basic_vqa copied to clipboard

NameError: name 'text_processing' is not defined

Open BasselAli1 opened this issue 5 years ago • 1 comments

When running !python ../build_vqa_inputs.py --input_dir='../datasets' --output_dir='../datasets' I see Traceback (most recent call last): File "../build_vqa_inputs.py", line 96, in <module> main(args) File "../build_vqa_inputs.py", line 69, in main answer_dict = text_processing.VocabDict(vocab_answer_file) NameError: name 'text_processing' is not defined

BasselAli1 avatar Nov 20 '20 14:11 BasselAli1

try this import text_helper as text_processing in your build_vqa_inputs.py file this is work for me.

Ali-Jakhar avatar Dec 23 '20 15:12 Ali-Jakhar