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

Reasoning is slow and ChartQA doesn't run well #22

Open
warm345 opened this issue Sep 22, 2024 · 3 comments
Open

Reasoning is slow and ChartQA doesn't run well #22

warm345 opened this issue Sep 22, 2024 · 3 comments

Comments

@warm345
Copy link

warm345 commented Sep 22, 2024

Hello, I would like to ask you, I run your model and code here, using single_turn_eval.py for ChartQA inference

The speed is shown below
72%|███████▏ | 1798/2500 [5:46:50<2:10:59, 11.20s/it]
72%|███████▏ | 1799/2500 [5:47:01<2:10:40, 11.19s/it]
72%|███████▏ | 1800/2500 [5:47:13<2:11:10, 11.24s/it]
72%|███████▏ | 1801/2500 [5:47:24<2:11:23, 11.28s/it]
72%|███████▏ | 1802/2500 [5:47:35<2:10:51, 11.25s/it]
72%|███████▏ | 1803/2500 [5:47:46<2:10:18, 11.22s/it]
72%|███████▏ | 1804/2500 [5:47:58<2:10:14, 11.23s/it]

Also, ChartQA ran out as a result
aug: 55.84
human: 41.84
Total: 48.84

Did I have a problem running at that step

@FanqingM
Copy link
Collaborator

The model have more than one vision encoder and this is why the speed is not fast.
For ChartQA, you can use this json
https://github.com/OpenGVLab/ChartAst/blob/main/chartqa_all.json

@FanqingM
Copy link
Collaborator

accessory/exps/finetune/mm/test.sh
The param please use above

@FanqingM
Copy link
Collaborator

For chartQA, we use COT-Answer and normal answer.
You can refer the https://github.com/OpenGVLab/ChartAst/blob/main/chartqa_all.json where we release the evaluation result.
It maybe some different with the original paper because we update the model with some stock data.

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

2 participants