Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training the VisionTapas model #9

Open
ashim95 opened this issue Jul 26, 2023 · 3 comments
Open

Training the VisionTapas model #9

ashim95 opened this issue Jul 26, 2023 · 3 comments

Comments

@ashim95
Copy link

ashim95 commented Jul 26, 2023

Hi,

Since the checkpoint for VisionTapas is not available, I am trying to train this model from scratch. The code directory does not have any instructions to run the code. It would be great if you can a small readme file with steps to train this model. If you can add the required versions for libraries, that would also be appreciated.

Currently, I am using torch==1.13.0 with CUDA==11.6.2, and transformers==4.24.0. When I run the training script, it seems the fixed_vocab_file is missing. Can you please add how to get that?

I understand you might be short on time, but I would appreciate if you can at least give one of the training commands you used. Currently, my command looks like this:

python train_question_answering.py --train-folder ../data/chartqa/train/ --validation-folder ../data/chartqa/val/ --qa-train-file ../data/chartqa/train/train_augmented.json --qa-val-file ../data/chartqa/val/val_augmented.json --out-dir vision-tapas-model

Hoping for a quick reply.

Thanks,
-- ashim

@jshtok
Copy link

jshtok commented Sep 13, 2023

I have the same issue. It seems one cannot use the dataset without the fixed_vocab_file. I'd appreciate if you could add it to the repo.

@ingingX
Copy link

ingingX commented Sep 21, 2023

I have the same issue here. Does anyone know how to train the model by oneself or other solutions?

@anish-yadav19
Copy link

I have the same issue. It seems one cannot use the dataset without the fixed_vocab_file. I'd appreciate if you could add it to the repo.

HI, dd you solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants