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

feat: better support for cmd inference - #144

Open
MistEO wants to merge 3 commits into
innnky:4.0from
MistEO:4.0
Open

feat: better support for cmd inference#144
MistEO wants to merge 3 commits into
innnky:4.0from
MistEO:4.0

Conversation

@MistEO

@MistEO MistEO commented Feb 26, 2023

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

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

@MistEO

MistEO commented Feb 26, 2023

Copy link
Copy Markdown
Author

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

@PriesiaMioShirakana

Copy link
Copy Markdown
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