liuzhengzhe / DreamStone-ISS

This is the project for DreamStone: TPAMI & ISS: ICLR 2023 spotlight
https://liuzhengzhe.github.io/DreamStone.github.io/
43 stars 3 forks source link

The package about openai-clip #4

Closed WayneCV closed 1 year ago

WayneCV commented 1 year ago

Hi, which package is openai-clip? When I run conda env create -f environment.yaml, the openai-clip is not found so I need to download it independently. If I simply pip install openai-clip, I find this package can not directly use in your code. The error is No module named 'clip'. Thanks.

WayneCV commented 1 year ago

I also try the package pip install git+https://github.com/openai/CLIP.git, but it needs the pytorch version to be bigger than 1.7.1.

liuzhengzhe commented 1 year ago

pip install openai-clip

When we "import clip" in the code, we call that package.

WayneCV @.***> 于2023年4月21日周五 14:40写道:

I also try the package pip install git+https://github.com/openai/CLIP.git, but it needs the pytorch version to be bigger than 1.7.1.

— Reply to this email directly, view it on GitHub https://github.com/liuzhengzhe/ISS-Image-as-Stepping-Stone-for-Text-Guided-3D-Shape-Generation/issues/4#issuecomment-1517340754, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7WPDBCL5N4B73BO72CVNLXCITWBANCNFSM6AAAAAAXGM6UCU . You are receiving this because you are subscribed to this thread.Message ID: <liuzhengzhe/ISS-Image-as-Stepping-Stone-for-Text-Guided-3D-Shape-Generation/issues/4/1517340754 @github.com>

WayneCV commented 1 year ago

pip install openai-clip When we "import clip" in the code, we call that package. WayneCV @.***> 于2023年4月21日周五 14:40写道: I also try the package pip install git+https://github.com/openai/CLIP.git, but it needs the pytorch version to be bigger than 1.7.1. — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7WPDBCL5N4B73BO72CVNLXCITWBANCNFSM6AAAAAAXGM6UCU . You are receiving this because you are subscribed to this thread.Message ID: <liuzhengzhe/ISS-Image-as-Stepping-Stone-for-Text-Guided-3D-Shape-Generation/issues/4/1517340754 @github.com>

Thanks. But openai-clip also needs the pytorch version >= 1.7.1. However, the environment in your codes needs pytorch version ==1.4.0.

liuzhengzhe commented 1 year ago

Oh, you can use other pytorch versions actually. I used pytorch==1.11

Zhengzhe

WayneCV @.***> 于2023年4月21日周五 16:07写道:

pip install openai-clip When we "import clip" in the code, we call that package. WayneCV @.***> 于2023年4月21日周五 14:40写道: … <#m3062872434289032834> I also try the package pip install git+https://github.com/openai/CLIP.git, but it needs the pytorch version to be bigger than 1.7.1. — Reply to this email directly, view it on GitHub <#4 (comment) https://github.com/liuzhengzhe/ISS-Image-as-Stepping-Stone-for-Text-Guided-3D-Shape-Generation/issues/4#issuecomment-1517340754>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7WPDBCL5N4B73BO72CVNLXCITWBANCNFSM6AAAAAAXGM6UCU . You are receiving this because you are subscribed to this thread.Message ID: </issues/4 https://github.com/liuzhengzhe/ISS-Image-as-Stepping-Stone-for-Text-Guided-3D-Shape-Generation/issues/4/1517340754 @github.com>

Thanks. But openai-clip also needs the pytorch version >= 1.7.1. However, the environment in your codes needs pytorch version ==1.4.0.

— Reply to this email directly, view it on GitHub https://github.com/liuzhengzhe/ISS-Image-as-Stepping-Stone-for-Text-Guided-3D-Shape-Generation/issues/4#issuecomment-1517445029, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7WPDC5IAF5V437TT4RDDTXCI55TANCNFSM6AAAAAAXGM6UCU . You are receiving this because you commented.Message ID: <liuzhengzhe/ISS-Image-as-Stepping-Stone-for-Text-Guided-3D-Shape-Generation/issues/4/1517445029 @github.com>

WayneCV commented 1 year ago

Oh, you can use other pytorch versions actually. I used pytorch==1.11 Zhengzhe WayneCV @.> 于2023年4月21日周五 16:07写道: pip install openai-clip When we "import clip" in the code, we call that package. WayneCV @.> 于2023年4月21日周五 14:40写道: … <#m3062872434289032834> I also try the package pip install git+https://github.com/openai/CLIP.git, but it needs the pytorch version to be bigger than 1.7.1. — Reply to this email directly, view it on GitHub <#4 (comment) <#4 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7WPDBCL5N4B73BO72CVNLXCITWBANCNFSM6AAAAAAXGM6UCU . You are receiving this because you are subscribed to this thread.Message ID: </issues/4 <#4>/1517340754 @github.com> Thanks. But openai-clip also needs the pytorch version >= 1.7.1. However, the environment in your codes needs pytorch version ==1.4.0. — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7WPDC5IAF5V437TT4RDDTXCI55TANCNFSM6AAAAAAXGM6UCU . You are receiving this because you commented.Message ID: <liuzhengzhe/ISS-Image-as-Stepping-Stone-for-Text-Guided-3D-Shape-Generation/issues/4/1517445029 @github.com>

Thanks! I solved.