Skip to content
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

How to inference with pretrained models #360

Open
freshpearYoon opened this issue Sep 10, 2024 · 4 comments
Open

How to inference with pretrained models #360

freshpearYoon opened this issue Sep 10, 2024 · 4 comments

Comments

@freshpearYoon
Copy link

How can I perform SV with other pretrained models on my data ? Can I get example codes?

@JiJiJiang
Copy link
Collaborator

Yes, prepare your own data.scp and utt2spk and trials. You can follow examples/v2/run.sh stage 4 and stage 5, as well as data preparing

@freshpearYoon
Copy link
Author

Is it impossible to inference on my single data with python file?

@JiJiJiang
Copy link
Collaborator

Of course you can, check cli usage.

@Jiltseb
Copy link

Jiltseb commented Oct 21, 2024

I was trying to use vblinkf model (SimAMResNet100) but gets an input mismatch error compared to SimAMResNet34.

nnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Got invalid dimensions for input: feats for the following indices
 index: 1 Got: 23 Expected: 200
 Please fix either the inputs/outputs or the model.

Greatly appreciate the help @JiJiJiang

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

No branches or pull requests

3 participants