Spaces:
Runtime error
Runtime error
anonymoussubmitter222
commited on
Commit
·
23a7c9e
1
Parent(s):
be68d89
cuda bug
Browse files
app.py
CHANGED
|
@@ -356,7 +356,7 @@ english_asr_model = ASRCV(
|
|
| 356 |
)
|
| 357 |
english_asr_model.modules.to("cpu")
|
| 358 |
english_asr_model.device="cpu"
|
| 359 |
-
english_asr_model.checkpointer.recover_if_possible()
|
| 360 |
run_opts["device"]="cpu"
|
| 361 |
print("moving to tunisian model")
|
| 362 |
asr_brain = ASR(
|
|
@@ -366,7 +366,7 @@ asr_brain = ASR(
|
|
| 366 |
checkpointer=hparams["checkpointer"],
|
| 367 |
)
|
| 368 |
asr_brain.modules.to("cpu")
|
| 369 |
-
asr_brain.checkpointer.recover_if_possible()
|
| 370 |
asr_brain.modules.eval()
|
| 371 |
english_asr_model.modules.eval()
|
| 372 |
french_asr_model.mods.eval()
|
|
|
|
| 356 |
)
|
| 357 |
english_asr_model.modules.to("cpu")
|
| 358 |
english_asr_model.device="cpu"
|
| 359 |
+
#english_asr_model.checkpointer.recover_if_possible()
|
| 360 |
run_opts["device"]="cpu"
|
| 361 |
print("moving to tunisian model")
|
| 362 |
asr_brain = ASR(
|
|
|
|
| 366 |
checkpointer=hparams["checkpointer"],
|
| 367 |
)
|
| 368 |
asr_brain.modules.to("cpu")
|
| 369 |
+
#asr_brain.checkpointer.recover_if_possible()
|
| 370 |
asr_brain.modules.eval()
|
| 371 |
english_asr_model.modules.eval()
|
| 372 |
french_asr_model.mods.eval()
|