-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metas
出力時に話者情報をマージする
#728
Merged
Merged
metas
出力時に話者情報をマージする
#728
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
7d0aa00
`metas`出力時に話者情報をマージする
qryxip 2b41763
スタイルもソートする
qryxip 178d5ac
`SpeakerMeta::{speaker_order,style_order}`を導入
qryxip e78dd4f
テストを追加
qryxip 9d2b1a2
`merge`にdoc
qryxip 25a918c
話者情報が食い違うやつはwarning止まりにする
qryxip d2f418d
Merge branch 'main' into merge-speakers
qryxip 4061678
`StyleMeta`自体に`order`を持たせる
qryxip 75e55b2
Merge branch 'main' into merge-speakers
qryxip File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pub use crate::synthesizer::blocking::PerformInference; | ||
pub use crate::{metas::merge as merge_metas, synthesizer::blocking::PerformInference}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
一応、「style_orderにないスタイルは一番後ろに足していく」みたいなことを書いておいた方がいいかも?
あとスタイルIDを足すようにしておくと順番が変わるのを抑えられる気がします。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge
のdocstringに書いたやつでいいかなと思っています。無い/衝突した場合のフォールバック的な意味でしょうか? 私としてはそのような場合は元々の挿入順に対して安定ソートでいいかなと思っていたのですが、 @Hiroshiba どうしましょう?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
おっと、書いてありました(ごめんなさい)
自分が意味したのは無い時のフォールバックですね。衝突時はそもそも原理的に起こらなさそう?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
無い場合は元の順序にしましょう!
個人的には必須でも全然OKだと思います。ボイボはおそらく全部に付けるので。リリース前にミスに気づけるかもしれない。どっちでも!
衝突時も元の順序で良さそうかなと。
warn出るとちょっと嬉しいかも、くらい。(warn出すのどれくらい大変かわからずに言ってます 🙇 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VVMのロード時に
warn_diff_except_styles
内でwarnするようにしています。マージ時にもう一度出す必要は無いかなと。