mirror of
https://github.com/malarinv/tacotron2
synced 2026-03-08 01:32:35 +00:00
ipynb typo
This commit is contained in:
@@ -101,7 +101,7 @@
|
|||||||
"try:\n",
|
"try:\n",
|
||||||
" model = model.module\n",
|
" model = model.module\n",
|
||||||
"except:\n",
|
"except:\n",
|
||||||
" pass\n"
|
" pass\n",
|
||||||
"model.load_state_dict({k.replace('module.',''):v for k,v in torch.load(checkpoint_path)['state_dict'].items()})\n",
|
"model.load_state_dict({k.replace('module.',''):v for k,v in torch.load(checkpoint_path)['state_dict'].items()})\n",
|
||||||
"_ = model.eval()"
|
"_ = model.eval()"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user