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

Some problem about the code #2

Open
Kawai1Ace opened this issue Nov 27, 2023 · 5 comments
Open

Some problem about the code #2

Kawai1Ace opened this issue Nov 27, 2023 · 5 comments

Comments

@Kawai1Ace
Copy link

Dear author, when I run the code, there exists some error. I do not know whether is the problem of code. I will be appreciate it if you can help me solve this problem.
bug1
bug2

@lifan-yuan
Copy link
Owner

Hi, thanks for your interest in this work!

For the first error, it is because we've uploaded our results and the program automatically loads the results. However, the key in the file does not match the latest code. You can delete the files in ./tab_and_math/MATH/results to solve the problem.

For the second error, you should put your OpenAI key in ./vqa/api.key.

Hope this helps.

@Kawai1Ace
Copy link
Author

Thanks for your help.
image
I have deleted the files and I run the code in colab. It stuck in the multi-thread phase and I do not how to solve it.I will be grateful if you can help me solve this problem.

@Kawai1Ace
Copy link
Author

图片
another problem

@lifan-yuan
Copy link
Owner

Hi,

It seems that the errors should be attributed to your API key, as well as the openai library in your environment. You can uncomment the try-catch code in chat_api to debug.

@Kawai1Ace
Copy link
Author

Sorry to bother you again. I noticed that there seems to be some problem in the result of the code execution. .I will be grateful if you can help me solve this problem.
ac676baf8ae6bb4c655305fdbeaa1bd

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