openai.APITimeoutError: Request timed out.
I am encountering
Traceback (most recent call last): File "/Data4T/Codes/DriveLM/challenge/evaluation.py", line 240, in <module> File "/Data4T/Codes/DriveLM/challenge/evaluation.py", line 197, in evaluation print("language score: ", output["language"]) File "/Data4T/Codes/DriveLM/challenge/evaluation.py", line 88, in eval_chatGPT """ File "/home/jqwu/anaconda3/envs/drivelm/lib/python3.8/multiprocessing/pool.py", line 364, in map return self._map_async(func, iterable, mapstar, chunksize).get() File "/home/jqwu/anaconda3/envs/drivelm/lib/python3.8/multiprocessing/pool.py", line 771, in get raise self._value openai.APITimeoutError: Request timed out.
when running
python evaluation.py --root_path1 ./output.json --root_path2 ./test_eval.json
SOS! ubuntu 22, python 3.8, openai==1.76.0
Seems like an openai api error. If you would like to run the provided code on your local machines, please make sure your openai key is working.
@ChonghaoSima Here is the UI of my OpenAI API keys:
It shows that it was never used.
Is it working?
Seems like an openai api error. If you would like to run the provided code on your local machines, please make sure your openai key is working.
Is it a network issue? I tried to switch between different networks, but it did not help.
Please see if your network is within the openai available countries (https://platform.openai.com/docs/supported-countries)