Spaces:
Runtime error
Runtime error
mattricesound
commited on
Commit
•
ab6f776
1
Parent(s):
8151113
New ckpts dir
Browse files- .gitignore +0 -1
- app.py +0 -6
- ckpts/.gitkeep +0 -0
.gitignore
CHANGED
@@ -9,4 +9,3 @@ lightning_logs/
|
|
9 |
outputs/
|
10 |
logs/
|
11 |
.vscode/
|
12 |
-
ckpts/
|
|
|
9 |
outputs/
|
10 |
logs/
|
11 |
.vscode/
|
|
app.py
CHANGED
@@ -21,11 +21,6 @@ def init_hydra():
|
|
21 |
cfg = compose(config_name="config", overrides=["+exp=remfx_detect"])
|
22 |
|
23 |
|
24 |
-
def download_checkpoints():
|
25 |
-
print("Downloading checkpoints")
|
26 |
-
os.system("scripts/download_ckpts.sh")
|
27 |
-
|
28 |
-
|
29 |
def load_models():
|
30 |
global classifier
|
31 |
print("Loading models")
|
@@ -183,6 +178,5 @@ def ui():
|
|
183 |
|
184 |
if __name__ == "__main__":
|
185 |
init_hydra()
|
186 |
-
download_checkpoints()
|
187 |
load_models()
|
188 |
ui()
|
|
|
21 |
cfg = compose(config_name="config", overrides=["+exp=remfx_detect"])
|
22 |
|
23 |
|
|
|
|
|
|
|
|
|
|
|
24 |
def load_models():
|
25 |
global classifier
|
26 |
print("Loading models")
|
|
|
178 |
|
179 |
if __name__ == "__main__":
|
180 |
init_hydra()
|
|
|
181 |
load_models()
|
182 |
ui()
|
ckpts/.gitkeep
ADDED
File without changes
|