DeepSpeech-examples icon indicating copy to clipboard operation
DeepSpeech-examples copied to clipboard

unavailable deep speech 9 clinet

Open problemSolvingProgramming opened this issue 4 years ago • 23 comments

I downloaded the example of Deep Speech 9, but I wanted to run its .NET file, I realized that there are two projects, only one project called Deep Speech Client is unavailable? Please tell me what should I do? Where can I find this project?

image

Did you installed the NuGet?

lissyx avatar Feb 24 '21 17:02 lissyx

@lissyx yes

and you properly setup your project? then I have no idea, I don't know C#. Maybe @carlfm01 knows?

lissyx avatar Feb 24 '21 17:02 lissyx

@lissyx yes . i do not know where to find this Deep speech clinet project?

it's part of the nuget as much as I can tell ...

lissyx avatar Feb 24 '21 17:02 lissyx

DeepSpeechWPF example is what we use in CI to test ... https://github.com/mozilla/DeepSpeech/blob/7b2eeb6734a49c3d9439644e9fe0685cb46ad695/taskcluster/tc-build-utils.sh#L286-L303

lissyx avatar Feb 24 '21 17:02 lissyx

@lissyx thank you. But then why is one of the two projects inactive and I can not run this program? unavailable deep speech 9 clinet.

@lissyx thank you. But then why is one of the two projects inactive and I can not run this program? unavailable deep speech 9 clinet.

no project is inactive, I don't get what you are referring to. I've shared as much as I can, this code runs, I showed you the code that performs the setup. As I said I know nothing about C#, I don't use Windows, I can't help more.

lissyx avatar Feb 24 '21 18:02 lissyx

@lissyx The project file could not be loaded. Could not find a part of the path . Please upload the project to github again

@lissyx The project file could not be loaded. Could not find a part of the path . Please upload the project to github again

I'm not going to repeat myself for ever: this code works, this is what we use in CI, and I showed you how it's being setup. There is nothing to re-upload.

lissyx avatar Feb 24 '21 18:02 lissyx

This is the error I get. He does not know your client at all.

image

This is the error I get. He does not know your client at all.

image

you keep asking but you have never confirmed whether you properly applied the suggestion from the link I shared: nuget install DeepSpeechWPF/packages.config -OutputDirectory DeepSpeechWPF/packages/

What do you don't understand in "I don't know C# and I can't help more" ?

BTW sharing errors as screenshots makes it super painful for people to help you, please share as text only.

lissyx avatar Feb 24 '21 18:02 lissyx

I think I did something wrong when bumping the examples folder to r0.9, probably a botched merge from master. The reference there should be to NuGet but it's a local one to be used in CI.

reuben avatar Feb 24 '21 18:02 reuben

@lissyx thanks. i understood . I checked the link you sent and applied it, but unfortunately I did not succeed, it does not work for me and

@reuben Thank you. What should I do now?

I've updated the examples repo, hopefully with a fix: https://github.com/mozilla/DeepSpeech-examples/commit/0f1168d78f7bd4c1b1984614dba663e7ce685380

Can you update your copy of DeepSpeechWPF and try again?

reuben avatar Feb 24 '21 18:02 reuben

Also, when filing issues in the future, please describe exactly the steps you followed so that we don't have to infer it indirectly from error reports.

reuben avatar Feb 24 '21 18:02 reuben

@reuben thanks. the first time I try to open the project, it shows me this error. The next time I click OK, I see that the Deep Speech client is disabled.

image

image

@reuben yes. Hi, I copied and run again after you updated, but unfortunately it did not work.

Then I'm afraid you'll have to figure it out on your end or give more details. Other people are able to build and run the project, so it could be some Visual Studio problem. Document here exactly what you've tried, what errors you got, and maybe someone with more .NET experience will be able to help. And please stop posting screenshots as already requested. Copy and paste the text here, properly formatted.

reuben avatar Feb 25 '21 08:02 reuben

For example, the error message explicitly tells you to look at the Output window, yet you didn't paste its contents here on the issue. If you don't provide all the information you have nobody will be able to help you.

reuben avatar Feb 25 '21 08:02 reuben

Hello @doctorwho-123 that is just a warning, you should be able to run the project with Reuben's change, here's a PR that removes the warning: https://github.com/mozilla/DeepSpeech-examples/pull/122

Sorry for the delay :/

carlfm01 avatar Mar 01 '21 06:03 carlfm01

NuGet package is installed, but have you imported it??

shubhmak avatar May 06 '21 13:05 shubhmak