yashkant / sam-textvqa

Official code for paper "Spatially Aware Multimodal Transformers for TextVQA" published at ECCV, 2020.

Home Page:https://yashkant.github.io/projects/sam-textvqa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

where is save/debug/command.txt

NaJeehye opened this issue · comments

Q1. What should I do to solve the problem?

after I finish all settings, I want to try pretrained-models.
So, I ran the below code
python train.py \ --config configs/train-tvqa_stvqa-eval-tvqa-c3.yml \ --pretrained_eval data/pretrained-models/best_model.tar
I get the error message
image
(click the photo, and you see the bigger photo.)

Q2. What should I do to solve the problem?

How can I get "wiki.en.bin"?

So, I ran the below code.
python train.py \ --config configs/train-stvqa-eval-stvqa-c3.yml \ --tag debug
and I have trouble with fastText.
image

image

I and my colleague have to trouble with Q2!
(Warning : load_model does not return WordVectorModel or SupervisedModel any more, but a FastText object which is very similar.)

You can fix Q1 by creating the folder manually, or code to create the file if it doesn't exist.
About Q2, you need to download the vocabulary from torchtext before loading the model.

Once you fix that, you may find another error message, which I'm trying to fix by now.

Hi @NaJeehye and @jonpoveda,

The Q1 seems to be a trivial fix, command.txt is created when you run the code.
For Q2 (regarding Fastttext), please see the instructions here: https://github.com/facebookresearch/mmf/tree/v0.3#troubleshootingfaqs