selmisskilig
commited on
Commit
•
8ffe52b
1
Parent(s):
4500a17
Upload 8 files
Browse files- .gitattributes +1 -0
- M-CLIP-LABSE-Vit-L-14-textual.onnx +3 -0
- M-CLIP-LABSE-Vit-L-14-visual.onnx +3 -0
- M-CLIP-XLM-Roberta-Large-Vit-B-16Plus-textual.zip.part +3 -0
- M-CLIP-XLM-Roberta-Large-Vit-B-32-textual.zip +3 -0
- M-CLIP-XLM-Roberta-Large-Vit-B-32-visual.onnx +3 -0
- M-CLIP-XLM-Roberta-Large-Vit-L-14-textual.zip +3 -0
- M-CLIP-XLM-Roberta-Large-Vit-L-14-visual.onnx +3 -0
- option.py +27 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
M-CLIP-XLM-Roberta-Large-Vit-B-16Plus-textual.zip.part filter=lfs diff=lfs merge=lfs -text
|
M-CLIP-LABSE-Vit-L-14-textual.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2615a88ce4af0a9c88f8db741699b7f675304a8d573657a8d7cf47c757b42ee2
|
3 |
+
size 1883834468
|
M-CLIP-LABSE-Vit-L-14-visual.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3dbe7c5745f683e7d68534593c73eadcffb35b1b5a9d14866f2337902861d465
|
3 |
+
size 1216128598
|
M-CLIP-XLM-Roberta-Large-Vit-B-16Plus-textual.zip.part
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ce15d1723a8a2f623caf0fbb582a69a66c3f726e5155dfbed5a654e21e283a5
|
3 |
+
size 1031565312
|
M-CLIP-XLM-Roberta-Large-Vit-B-32-textual.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b5496b576a2b3aae774ed53a36397934ceaa54d2a76e00f59bc7b9ade154471
|
3 |
+
size 1966251330
|
M-CLIP-XLM-Roberta-Large-Vit-B-32-visual.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ba8ec67123cbec88a8a0e1d9e3204481de64a755838743540c3caa9ddfbfb5e
|
3 |
+
size 351529491
|
M-CLIP-XLM-Roberta-Large-Vit-L-14-textual.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3561f272a64449df038da2c528ca606054e3cd7039aaffc74f4ee8257e37e0c
|
3 |
+
size 1967152651
|
M-CLIP-XLM-Roberta-Large-Vit-L-14-visual.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3dbe7c5745f683e7d68534593c73eadcffb35b1b5a9d14866f2337902861d465
|
3 |
+
size 1216128598
|
option.py
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import shutil
|
3 |
+
|
4 |
+
def copy_files():
|
5 |
+
# 获取当前目录
|
6 |
+
current_directory = os.getcwd()
|
7 |
+
|
8 |
+
# 获取当前目录下所有文件夹
|
9 |
+
folders = [folder for folder in os.listdir(current_directory) if os.path.isdir(folder)]
|
10 |
+
|
11 |
+
# 遍历每个文件夹
|
12 |
+
for folder in folders:
|
13 |
+
folder_path = os.path.join(current_directory, folder)
|
14 |
+
|
15 |
+
# 获取文件夹下所有文件
|
16 |
+
files = [f for f in os.listdir(folder_path) if os.path.isfile(os.path.join(folder_path, f))]
|
17 |
+
|
18 |
+
# 遍历每个文件,复制并改名
|
19 |
+
for file in files:
|
20 |
+
file_path = os.path.join(folder_path, file)
|
21 |
+
new_name = f"{folder}-{file}"
|
22 |
+
|
23 |
+
# 拷贝文件到当前目录
|
24 |
+
shutil.move(file_path, os.path.join(current_directory, new_name))
|
25 |
+
|
26 |
+
if __name__ == "__main__":
|
27 |
+
copy_files()
|