Skip to content

Commit 45bcf63

Browse files
authored
Merge pull request #51 from kan-bayashi/fix/Makefile
Fixed pysptk installation problem (#49)
2 parents df0482d + 88582c8 commit 45bcf63

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ matrix:
1111

1212
install:
1313
- pip3 install -U pip wheel
14+
- pip3 install numpy
15+
- pip3 install https://download.pytorch.org/whl/cpu/torch-1.0.1.post2-cp36-cp36m-linux_x86_64.whl
16+
- pip3 install -r tools/requirements.txt
1417
- pip3 install -r ./tools/test_requirements.txt
15-
- grep -v torch ./tools/requirements.txt | pip3 install -r /dev/stdin
16-
# use pytorch cpu v0.4.1 (1.0.0 is super slow)
17-
- pip3 install https://download.pytorch.org/whl/cpu/torch-0.4.1-cp36-cp36m-linux_x86_64.whl
18-
- pip3 install torchvision
1918

2019
script:
2120
- flake8 src test

test/test_generator.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
import argparse
88
import os
99

10-
from decode import decode_generator
1110
from feature_extract import melspectrogram_extract
1211
from feature_extract import world_feature_extract
13-
from train import train_generator
1412
from utils import find_files
1513

14+
from decode import decode_generator
15+
from train import train_generator
16+
1617
from test_preprocessing import make_args as make_feature_args
1718
from test_preprocessing import make_dummy_wav
1819

tools/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ all: venv/bin/activate
55
venv/bin/activate:
66
test -d venv || virtualenv -p python3.6 venv
77
. venv/bin/activate; pip install --upgrade pip
8+
. venv/bin/activate; pip install numpy
89
. venv/bin/activate; pip install -r requirements.txt
910
touch venv/bin/activate
1011

tools/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
numpy==1.13.3
21
h5py>=2.9.0
32
scikit-learn>=0.20.2
43
librosa>=0.6.2
54
soundfile>=0.10.2
6-
torch>=1.0.0
5+
torch>=1.0.1
76
torchvision>=0.2.1
87
sprocket-vc>=0.18.2

0 commit comments

Comments
 (0)