mrflogs / SHIP

Official code for ICCV 2023 paper, "Improving Zero-Shot Generalization for CLIP with Synthesized Prompts"
https://arxiv.org/abs/2307.07397
88 stars 6 forks source link

main_coop_vae.py文件运行异常/main_ Coop_ Vae.py file runs abnormally #1

Closed CaiKaifen closed 1 year ago

CaiKaifen commented 1 year ago

你好,在我运行main_coop_vae.py的时候,“import clip”和“from clip.simple_tokenizer import SimpleTokenizer as _Tokenizer”两行语句会报错,控制台显示“No module named 'clip'”和“No module named 'clip.simpletokenizer'”。我尝试使用“pip install XXX”或者“conda install XXX”,都不能解决以上问题。请问您有什么方法解决这个问题吗? Hello, when I run main Coop_ When using vae. py, the statements "import clip" and "from clip. simple_tokenizer import SimpleTokenizer as _Tokenizer" will generate an error, and the console will display "No module named 'clip'" and "No module named 'clip. simple_tokenizer'". I tried using 'pip install XXX' or 'conda install XXX', but none of them could solve the above problem. May I ask if you have any methods to solve this problem?

mrflogs commented 1 year ago

We have uploaded the clip folder. Please test to see if it works.

CaiKaifen commented 1 year ago

OK,thank you.  

机智如我 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年7月24日(星期一) 上午10:13 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [mrflogs/SHIP] main_coopvae.py文件运行异常/main Coop_ Vae.py file runs abnormally (Issue #1)

We have update clip folder. Please test to see if this work?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

CaiKaifen commented 1 year ago

It works.Thank you.  

机智如我 @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年7月24日(星期一) 上午10:25 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [mrflogs/SHIP] main_coopvae.py文件运行异常/main Coop_ Vae.py file runs abnormally (Issue #1)

We have uploaded the clip folder. Please test to see if it works.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>