-
Notifications
You must be signed in to change notification settings - Fork 4
Description
(/mnt/home/jetvoice/wangxf/gptsovitenv) root@jetvoice-virtual-machine:/mnt/home/jetvoice/wangxf/GPT-SoVITS/GPT_SoVITS# python export_torch_script_v3v4.py --gpt_model "/mnt/home/jetvoice/wangxf/GPT-SoVITS/GPT_weights_v4/胡桃_ZH-e10.ckpt" --sovits_model "/mnt/home/jetvoice/wangxf/GPT-SoVITS/SoVITS_weights_v4/胡桃_ZH_e10_s860_l32.pth" --ref_audio "/mnt/home/jetvoice/wangxf/GPT-SoVITS/GPT_SoVITS/emotions/1.wav" --ref_text "嘿嘿毕竟找活人不是我擅长的事嘛如果让我找的是边界另一边的人" --output_path "/mnt/home/jetvoice/wangxf/GPT-SoVITS/GPT_SoVITS/result" --export_common_model
INFO: torch version 2.7.1+cu126
INFO: hps: {'train': {'log_interval': 100, 'eval_interval': 200, 'seed': 1234, 'epochs': 15, 'learning_rate': 0.0001, 'betas': [0.8, 0.99], 'eps': 1e-09, 'batch_size': 8, 'fp16_run': False, 'lr_decay': 0.999875, 'segment_size': 20480, 'init_lr_ratio': 1, 'warmup_epochs': 0, 'c_mel': 45, 'c_kl': 1.0}, 'data': {'max_wav_value': 32768.0, 'sampling_rate': 32000, 'filter_length': 2048, 'hop_length': 640, 'win_length': 2048, 'n_mel_channels': 128, 'mel_fmin': 0.0, 'mel_fmax': None, 'add_blank': True, 'n_speakers': 300, 'cleaned_text': True}, 'model': {'inter_channels': 192, 'hidden_channels': 192, 'filter_channels': 768, 'n_heads': 2, 'n_layers': 6, 'kernel_size': 3, 'p_dropout': 0.1, 'resblock': '1', 'resblock_kernel_sizes': [3, 7, 11], 'resblock_dilation_sizes': [[1, 3, 5], [1, 3, 5], [1, 3, 5]], 'upsample_rates': [10, 8, 2, 2, 2], 'upsample_initial_channel': 512, 'upsample_kernel_sizes': [16, 16, 8, 2, 2], 'n_layers_q': 3, 'use_spectral_norm': False, 'gin_channels': 512, 'semantic_frame_rate': '25hz', 'freeze_quantizer': True, 'version': 'v4'}, 's2_ckpt_dir': 'logs/s2/big2k1ft_ko_5commit2', 'content_module': 'cnhubert'}
INFO: 模型版本: v4
Traceback (most recent call last):
File "/mnt/home/jetvoice/wangxf/GPT-SoVITS/GPT_SoVITS/export_torch_script_v3v4.py", line 1260, in
export_2("v4")
File "/mnt/home/jetvoice/wangxf/GPT-SoVITS/GPT_SoVITS/export_torch_script_v3v4.py", line 1140, in export_2
cfm = torch.jit.load("onnx/ad/cfm.pt", map_location=device)
File "/mnt/home/jetvoice/wangxf/gptsovitenv/lib/python3.10/site-packages/torch/jit/_serialization.py", line 158, in load
raise ValueError(f"The provided filename {f} does not exist")
ValueError: The provided filename onnx/ad/cfm.pt does not exist
(/mnt/home/jetvoice/wangxf/gptsovitenv) root@jetvoice-virtual-machine:/mnt/home/jetvoice/wangxf/GPT-SoVITS/GPT_SoVITS# ls -l /mnt/home/jetvoice/wangxf/GPT-SoVITS/GPT_SoVITS/onnx/ad/cfm.pt
ls: 无法访问 '/mnt/home/jetvoice/wangxf/GPT-SoVITS/GPT_SoVITS/onnx/ad/cfm.pt': 没有那个文件或目录