回答編集履歴
1
追記
answer
CHANGED
|
@@ -11,4 +11,29 @@
|
|
|
11
11
|
```
|
|
12
12
|
を仮想環境で実行してバージョンダウンするというワークアラウンドが有効かもしれません
|
|
13
13
|
|
|
14
|
-
(長期的には https://github.com/SunzeY/AlphaCLIP からのフォークを保守するしかないかも)
|
|
14
|
+
(長期的には https://github.com/SunzeY/AlphaCLIP からのフォークを保守するしかないかも)
|
|
15
|
+
|
|
16
|
+
----
|
|
17
|
+
|
|
18
|
+
1. requirements.txtから下の2行を消す
|
|
19
|
+
```
|
|
20
|
+
git+https://github.com/openai/CLIP.git
|
|
21
|
+
git+https://github.com/SunzeY/AlphaCLIP.git
|
|
22
|
+
```
|
|
23
|
+
1. 仮想環境に入る
|
|
24
|
+
1. setuptoolsのバージョンを固定
|
|
25
|
+
```shell
|
|
26
|
+
pip install --force-reinstall pip==25.2 setuptools==80.10.2
|
|
27
|
+
```
|
|
28
|
+
1. 先にCLIP類を `--no-build-isolation` 付きでビルド( https://github.com/openai/CLIP/issues/528#issuecomment-3884279862 が参考)
|
|
29
|
+
```shell
|
|
30
|
+
pip install git+https://github.com/openai/CLIP.git --no-build-isolation
|
|
31
|
+
pip install git+https://github.com/SunzeY/AlphaCLIP.git --no-build-isolation
|
|
32
|
+
```
|
|
33
|
+
1. 残りを入れる
|
|
34
|
+
```shell
|
|
35
|
+
pip install -r requirements.txt
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
とかかなと思います
|
|
39
|
+
最後まで確認はしてませんが
|