Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat: better support for cmd inference #144

Open
wants to merge 3 commits into
base: 4.0
Choose a base branch
from
Open

Conversation

MistEO
Copy link

@MistEO MistEO commented Feb 26, 2023

  • 添加了 --hubert_path 参数
  • 添加了 --output_path 参数
  • 优化下输入音频的参数,并改名为 -f / --input_files

另外 Linux 上 librosa 是支持 mp3 以及一些其他格式的,实测也可以正常完成流程,所以加了个仅 windows 才转换成 wav 的逻辑

@MistEO
Copy link
Author

MistEO commented Feb 26, 2023

话说 chunks_dict = infer_tool.read_temp("inference/chunks_temp.json") 这个是干嘛的,创建了个文件好像也没用上,是不是能删了(

@NaruseMioShirakana
Copy link
Collaborator

话说 chunks_dict = infer_tool.read_temp("inference/chunks_temp.json") 这个是干嘛的,创建了个文件好像也没用上,是不是能删了(

这个是因为旧版切片机速度比较慢,所以造的切片缓存(存了文件hash和切片下标好像)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants