生成数字人上传视频时报错
在上传视频生成数字人时,选择了视频后,视频能成功打开,但在点击[提交定制]时,报错:
[info] audio split done
[debug] ~ preprocessAndTran ~ param: {"format":"wav","reference_audio":"origin_audio/20250420141953118.wav","lang":"zh"}
[debug] ~ train ~ res: { code: -1, msg: 'file not exists' }
[debug] [SQL Run]: INSERT INTO f2f_model (name, video_path, audio_path, voice_id, created_at) VALUES (?, ?, ?, ?, ?) [
'ml',
'20250420141953118.mp4',
'origin_audio/20250420141953118.wav',
false,
1745129993536
]
Error occurred in handler for 'model/addModel': TypeError: SQLite3 can only bind numbers, strings, bigints, buffers, and null
at stmt.run (/tmp/.mount_HeyGemfaVd5B/resources/app.asar/out/main/index.js:145:16)
at insert$1 (/tmp/.mount_HeyGemfaVd5B/resources/app.asar/out/main/index.js:5743:21)
at /tmp/.mount_HeyGemfaVd5B/resources/app.asar/out/main/index.js:6204:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async WebContents.
请问这是什么原因?
看起来是voice_id传的值不对,应该是个bug。 传false不像是正确的voice_id的类型。
是不是客户端和算力不在一台机器上?
我也是一样的问题,报的这个错误,我用的docker镜像版本是:guiji2025/fish-speech-ziming:1.0.39。 后台报错是: heygem-tts | 2025-05-05 04:59:35.658 | INFO | tools.server.views_guiji:build_tts_item:49 - reference_audio不是url地址,本地路径为:/code/data/origin_audio/20250505125936146.wav heygem-tts | 2025-05-05 04:59:35.662 | ERROR | tools.server.views_guiji:api_do_preprocess:111 - An error occurred: file not exists heygem-tts | Stack trace: heygem-tts | Traceback (most recent call last): heygem-tts | File "/code/tools/server/views_guiji.py", line 96, in api_do_preprocess heygem-tts | tts_item: TtsItem = build_tts_item(req) heygem-tts | File "/code/tools/server/views_guiji.py", line 51, in build_tts_item heygem-tts | raise Exception('file not exists') heygem-tts | Exception: file not exists
但前台报错就是那个SQLite的 voice_id 为false的问题
我的客户端和算力是在一台机器上的。后台用 docker启动的服务