Skip to content

Commit 69a997b

Browse files
committed
update for no module named 'examples'
reference - #41 other update - update some dockerfile for easy training
1 parent 173e881 commit 69a997b

File tree

6 files changed

+10
-1
lines changed

6 files changed

+10
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ ljspeech
2929
!docker-compose.yml
3030
/Pipfile
3131
/Pipfile.lock
32+
/datasets
33+
/examples/tacotron2/exp/
34+
/temp/

dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM tensorflow/tensorflow:2.2.0-gpu
22
RUN apt-get update
33
RUN apt-get install -y zsh tmux wget git libsndfile1
4-
RUN pip install git+https://github.com/TensorSpeech/TensorflowTTS.git
4+
RUN pip install ipython && \
5+
pip install git+https://github.com/TensorSpeech/TensorflowTTS.git
56
RUN mkdir /workspace
67
WORKDIR /workspace

examples/fastspeech/train_fastspeech.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import logging
1919
import os
2020
import sys
21+
sys.path.append(".")
2122

2223
import numpy as np
2324
import tensorflow as tf

examples/fastspeech2/train_fastspeech2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import logging
1919
import os
2020
import sys
21+
sys.path.append(".")
2122

2223
import numpy as np
2324
import tensorflow as tf

examples/tacotron2/extract_duration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
import argparse
1818
import logging
1919
import os
20+
import sys
21+
sys.path.append(".")
2022

2123
import numpy as np
2224
import yaml

examples/tacotron2/train_tacotron2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import logging
1919
import os
2020
import sys
21+
sys.path.append(".")
2122

2223
import numpy as np
2324
import tensorflow as tf

0 commit comments

Comments
 (0)