mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-18 21:44:18 +00:00
Use mode.eval() in decoding.
This commit is contained in:
parent
c1fc004df5
commit
ca9be09cc1
@ -88,6 +88,7 @@ def main():
|
||||
logging.info("Decoding started")
|
||||
|
||||
model = torch.jit.load(params.nn_model_filename)
|
||||
model.eval()
|
||||
|
||||
device = torch.device("cpu")
|
||||
if torch.cuda.is_available() and not hasattr(
|
||||
|
Loading…
x
Reference in New Issue
Block a user