Open crx15215682925 opened 8 months ago
For TextVQA validation accuracy:
2 GPU:
python -m torch.distributed.launch --nproc_per_node 2 TAP/tools/run.py --tasks vqa --datasets m4c_textvqa --model m4c_split \ --config $config \ --run_type val \ --save_dir $save_directory \ --resume_file $model.ckpt \ training_parameters.distributed True
single GPU:
python TAP/tools/run.py --tasks vqa --datasets m4c_textvqa --model m4c_split \ --config $config \ --run_type val \ --save_dir $save_directory \ --resume_file $model.ckp
For TextVQA test accuracy, the test set label is not publicly release, So:
python TAP/tools/run.py --tasks vqa --datasets m4c_stvqa --model m4c_split \ --config $config \ --run_type inference --evalai_inference 1 \ --save_dir $model.ckpt
Hi @soonchangAI, thanks for your reply.
Now I find the address provided in data/README.md is invalid. Could you please provide me with a new dataset download address? Thanks.
Hi @crx15215682925
I find the address provided in data/README.md is invalid. Could you please provide me with a new dataset download address? Thanks.
Hello, I have got the json file of TextVQA, can you tell me how to get the accuracy? Only the eval code for Textcaps is currently provided.