forked from NVIDIA-NeMo/Speech
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathL2_TTS_InferEvaluatelongform_Magpietts_ZeroShot.sh
More file actions
33 lines (33 loc) · 1.39 KB
/
Copy pathL2_TTS_InferEvaluatelongform_Magpietts_ZeroShot.sh
File metadata and controls
33 lines (33 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (c) 2020-2025, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1 coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo examples/tts/magpietts_inference.py \
--deterministic \
--codecmodel_path /home/TestData/tts/21fps_causal_codecmodel.nemo \
--datasets_json_path examples/tts/evalset_config.json \
--datasets an4_val_ci_longform_tiny \
--out_dir ./mplf_zs_0 \
--batch_size 6 \
--use_cfg \
--cfg_scale 2.5 \
--num_repeats 1 \
--temperature 0.6 \
--nemo_files /home/TestData/tts/2602_MagpieTTS/feb26_Magpie-TTS-ML-V1--val_cer_gt=0.3258-step=1000.nemo \
--apply_attention_prior \
--apply_prior_to_layers "3,4,5,6,7,8,9" \
--estimate_alignment_from_layers "3,4,5,6" \
--use_local_transformer \
--run_evaluation \
--clean_up_disk \
--cer_target 0.02 \
--ssim_target 0.44