Fixing "file not found error" when running inference with the Large models#29
Open
AdrLfv wants to merge 3 commits intodmlguq456:mainfrom
Open
Fixing "file not found error" when running inference with the Large models#29AdrLfv wants to merge 3 commits intodmlguq456:mainfrom
AdrLfv wants to merge 3 commits intodmlguq456:mainfrom
Conversation
added 3 commits
June 12, 2025 11:01
…ix/2speakers/wav8k/min_segment/tr/s2/029a010z_1.0198_017c0213_-1.0198.wav do not exists!' in models/SepReformer_Large_DM_WSJ0
…111_0.49446_40ga0106_-0.49446.wav do not exists!"
…rb/20da010b_0.3678_024c020r_-0.3678.wav do not exists!"
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
When you run with --engine-mode infer_sample, the code was entering the training path in the
run() method because there was no specific handling for the infer_sample mode. This was causing it to try to load WSJ0 training dataset files that don't exist on my system.
I've added a new _infer_sample() method to the Engine classes that:
I've also updated the run() method to properly handle the infer_sample mode and use the new method instead of trying to load training data.