diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-07-23 16:14:45 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-07-23 16:14:45 +0200 |
| commit | 849acf7ee03f97afb555fc03fee29efc262a8df5 (patch) | |
| tree | 6a2eddd01fad7e305f80fcf573a373ae407f124d | |
| parent | 0652b8d1cf327c909798cb0fe866edd2c98583f7 (diff) | |
process
| -rw-r--r-- | NOTES | 2 | ||||
| -rw-r--r-- | scripts/process.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -109,7 +109,7 @@ parser.add_argument('-g', '--gpu', type=int) PYTHONPATH=`pwd` /home/spawn/.virtualenv/yukarin/bin/python scripts/process.py \ --conv_model_directory ./data/mat-holly-24000/conversion-net/pp-el8-mat-2-holly/ \ --sr_model_directory ./data/holly-24000/net/ \ - --input_directory ./test-data \ + --input_directory ./test_data \ --output_directory ./output \ --gpu 0 diff --git a/scripts/process.py b/scripts/process.py index 646c19b..8f5c2f0 100644 --- a/scripts/process.py +++ b/scripts/process.py @@ -44,7 +44,7 @@ def load_acoustic_converter(): def load_super_resolution(): sr_config = create_config(sr_model / 'config.json') - sr_model_paths = base_model.glob('predictor*.npz') + sr_model_paths = sr_model.glob('predictor*.npz') sr_model_path = list(sorted(sr_model_paths, key=extract_number))[-1] print(sr_model_path) return SuperResolution(sr_config, sr_model_path, gpu=gpu) |
