crockwell / Cap3D

[NeurIPS 2023] Scalable 3D Captioning with Pretrained Models
https://huggingface.co/datasets/tiange/Cap3D
223 stars 14 forks source link

Stuck at gpt3.5 #31

Closed yejr0229 closed 1 month ago

yejr0229 commented 2 months ago

Hi, I run this command 'python caption_clip_gpt.py --parent_dir './example_material' --openai_api_key 'Your-key' --gpt_type 'gpt3.5'', and have no reaction for 1 hour, I shut down the program and here is the outputs:

(Cap3D) (base) ➜ captioning_pipeline python caption_clip_gpt.py --parent_dir './example_material' --openai_api_key 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' --gpt_type 'gpt3.5' 100%|████████████████████████████████████████| 338M/338M [00:02<00:00, 133MiB/s] ############begin to generate final captions############ ^CTraceback (most recent call last): File "/data/yejr/Cap3D-main/captioning_pipeline/caption_clip_gpt.py", line 110, in summary = summarize_captions_gpt35(cur_final_caption) File "/data/yejr/Cap3D-main/captioning_pipeline/caption_clip_gpt.py", line 57, in summarize_captions_gpt35 response = openai.ChatCompletion.create( File "/root/anaconda3/envs/Cap3D/lib/python3.9/site-packages/openai/_utils/_proxy.py", line 21, in getattr if isinstance(proxied, LazyProxy): File "/root/anaconda3/envs/Cap3D/lib/python3.9/abc.py", line 117, in instancecheck def instancecheck(cls, instance): KeyboardInterrupt

How to solve this problem?

crockwell commented 2 months ago

Hello,

Hmm that is frustrating. It looks like it's stuck calling the Openai API. Most likely then this is not an issue with our codebase but rather something having to do with your OpenAI API setup. If I had to guess it could be some firewall or login issue. I'd recommend checking their repos and issues for further information.

Hope this helps!

Best, Chris

crockwell commented 1 month ago

Closing for inactivity - feel free to reopen if you have other questions!