You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错内容:
Traceback (most recent call last):
File "/Projects/TTS_metric/CosyVoice/cosyvoice/bin/export_onnx.py", line 116, in
main()
File "/Projects/TTS_metric/CosyVoice/cosyvoice/bin/export_onnx.py", line 112, in main
torch.testing.assert_allclose(output_pytorch, torch.from_numpy(output_onnx).to(device), rtol=1e-2, atol=1e-4)
File "/home/miniconda3/envs/tts2/lib/python3.10/site-packages/torch/testing/_comparison.py", line 1565, in assert_allclose
torch.testing.assert_close(
File "/home/miniconda3/envs/tts2/lib/python3.10/site-packages/torch/testing/_comparison.py", line 1523, in assert_close
raise error_metas[0].to_error(msg)
AssertionError: Tensor-likes are not close!
Mismatched elements: 3220 / 71200 (4.5%)
Greatest absolute difference: 0.028653383255004883 at index (0, 79, 2) (up to 0.0001 allowed)
Greatest relative difference: 49.96367645263672 at index (1, 17, 89) (up to 0.01 allowed)
The text was updated successfully, but these errors were encountered:
运行命令:
python cosyvoice/bin/export_onnx.py --model_dir pretrained_models/CosyVoice2-0.5B
报错内容:
Traceback (most recent call last):
File "/Projects/TTS_metric/CosyVoice/cosyvoice/bin/export_onnx.py", line 116, in
main()
File "/Projects/TTS_metric/CosyVoice/cosyvoice/bin/export_onnx.py", line 112, in main
torch.testing.assert_allclose(output_pytorch, torch.from_numpy(output_onnx).to(device), rtol=1e-2, atol=1e-4)
File "/home/miniconda3/envs/tts2/lib/python3.10/site-packages/torch/testing/_comparison.py", line 1565, in assert_allclose
torch.testing.assert_close(
File "/home/miniconda3/envs/tts2/lib/python3.10/site-packages/torch/testing/_comparison.py", line 1523, in assert_close
raise error_metas[0].to_error(msg)
AssertionError: Tensor-likes are not close!
Mismatched elements: 3220 / 71200 (4.5%)
Greatest absolute difference: 0.028653383255004883 at index (0, 79, 2) (up to 0.0001 allowed)
Greatest relative difference: 49.96367645263672 at index (1, 17, 89) (up to 0.01 allowed)
The text was updated successfully, but these errors were encountered: