Spaces:
Sleeping
Sleeping
jhonparra18
commited on
Commit
•
b58bd7e
1
Parent(s):
385eae3
Update inference.py
Browse files- inference.py +3 -4
inference.py
CHANGED
@@ -7,14 +7,13 @@ import os
|
|
7 |
cur_path=os.getcwd()
|
8 |
|
9 |
|
10 |
-
## download weights and config file
|
11 |
-
file_id = '
|
12 |
url = f'https://drive.google.com/uc?id='
|
13 |
output = f'{cur_path}/best_model.pth'
|
14 |
gdown.download(f"{url}{file_id}", output, quiet=False)
|
15 |
|
16 |
-
|
17 |
-
file_id = '1-6-cjb0fqLba-KD8WyusRMB_AaIbIds2'
|
18 |
url = f'https://drive.google.com/uc?id='
|
19 |
output = f'{cur_path}/config.json'
|
20 |
gdown.download(f"{url}{file_id}", output, quiet=False)
|
|
|
7 |
cur_path=os.getcwd()
|
8 |
|
9 |
|
10 |
+
## download weights and config file ##checkpoint 547000
|
11 |
+
file_id = '1Y4ss_MvyYuFtXdbcX_t9EpIs8O5A30qY'
|
12 |
url = f'https://drive.google.com/uc?id='
|
13 |
output = f'{cur_path}/best_model.pth'
|
14 |
gdown.download(f"{url}{file_id}", output, quiet=False)
|
15 |
|
16 |
+
file_id = '1OyOe5-f1nrJlU8dG8ZaIUz61zLGtGRTX'
|
|
|
17 |
url = f'https://drive.google.com/uc?id='
|
18 |
output = f'{cur_path}/config.json'
|
19 |
gdown.download(f"{url}{file_id}", output, quiet=False)
|