Replies: 1 comment
-
[Archived] Importerror cannot import name bcelossmasked
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
>>> brian2
[April 27, 2020, 11:44am]
I followed the instruction given at https://github.com/mozilla/TTS and
https://gist.github.com/erogol/97516ad65b44dbddb8cd694953187c5b
I can use the pre-trained models, but when I try to train a model
following the exact steps of the latter link, I get an error of
python train.py --config_path config.json | tee training.log
Traceback (most recent call last):
File 'train.py', line 16, in
from TTS.layers.losses import L1LossMasked, MSELossMasked, BCELossMasked
ImportError: cannot import name 'BCELossMasked'
I'm on a Ubuntu 18.04 machine.
[This is an archived TTS discussion thread from discourse.mozilla.org/t/importerror-cannot-import-name-bcelossmasked]
Beta Was this translation helpful? Give feedback.
All reactions