-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running path problem #41
Comments
Do you have a folder or other modules that go by 'examples'? That issue is common in Google Colaboratory. Or maybe the folder TensorflowTTS isn't in your |
I don't know why it happened, in my case, i use anaconda and virtualen, everything work fine :) |
This is happening to me as well. I am using Docker environment...
|
from tensorflow_tts.examples ... instead of from examples ...
|
Sorry, my mistake. We should use import sys
sys.path.append(".")
import ... |
reference - #41 other update - update some dockerfile for easy training
We now solved the problem I think.
|
i closed since it solved |
[root@localhost TensorflowTTS]# CUDA_VISIBLE_DEVICES=0 python examples/tacotron2/train_tacotron2.py --train-dir ./dump/train/ --dev-dir ./dump/valid/ --outdir ./examples/tacotron2/exp/train.tacotron2.v1/ --config ./examples/tacotron2/conf/tacotron2.v1.yaml --use-norm 1 --mix_precision 0 --resume ""
Traceback (most recent call last):
File "examples/tacotron2/train_tacotron2.py", line 31, in
from examples.tacotron2.tacotron_dataset import CharactorMelDataset
ModuleNotFoundError: No module named 'examples'
Why do I get this error when running in the root directory ?
The text was updated successfully, but these errors were encountered: