move files to another server
Browse files
app.py
CHANGED
@@ -18,19 +18,19 @@ csv.field_size_limit(sys.maxsize)
|
|
18 |
concat = lambda x: np.concatenate(x, axis=0)
|
19 |
|
20 |
# Embeddings
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
|
28 |
gdown.download(id="116CiA_cXciGSl72tbAUDoN-f1B9Frp89")
|
29 |
-
gdown.download(id="1SDtq6ap7LPPpYfLbAxaMGGmj0EAV_m_e")
|
30 |
|
31 |
# CUB training set
|
32 |
gdown.cached_download(
|
33 |
-
url="https://
|
34 |
path="./CUB_train.zip",
|
35 |
quiet=False,
|
36 |
md5="1bd99e73b2fea8e4c2ebcb0e7722f1b1",
|
@@ -45,7 +45,7 @@ torchvision.datasets.utils.extract_archive(
|
|
45 |
|
46 |
# CHM Weights
|
47 |
gdown.cached_download(
|
48 |
-
url="https://
|
49 |
path="pas_psi.pt",
|
50 |
quiet=False,
|
51 |
md5="6b7b4d7bad7f89600fac340d6aa7708b",
|
|
|
18 |
concat = lambda x: np.concatenate(x, axis=0)
|
19 |
|
20 |
# Embeddings
|
21 |
+
gdown.cached_download(
|
22 |
+
url="https://static.taesiri.com/chm-corr/embeddings.pickle",
|
23 |
+
path="./embeddings.pickle",
|
24 |
+
quiet=False,
|
25 |
+
md5="002b2a7f5c80d910b9cc740c2265f058",
|
26 |
+
)
|
27 |
|
28 |
gdown.download(id="116CiA_cXciGSl72tbAUDoN-f1B9Frp89")
|
29 |
+
# gdown.download(id="1SDtq6ap7LPPpYfLbAxaMGGmj0EAV_m_e")
|
30 |
|
31 |
# CUB training set
|
32 |
gdown.cached_download(
|
33 |
+
url="https://static.taesiri.com/chm-corr/CUB_train.zip",
|
34 |
path="./CUB_train.zip",
|
35 |
quiet=False,
|
36 |
md5="1bd99e73b2fea8e4c2ebcb0e7722f1b1",
|
|
|
45 |
|
46 |
# CHM Weights
|
47 |
gdown.cached_download(
|
48 |
+
url="https://static.taesiri.com/chm-corr/pas_psi.pt",
|
49 |
path="pas_psi.pt",
|
50 |
quiet=False,
|
51 |
md5="6b7b4d7bad7f89600fac340d6aa7708b",
|