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

TypeError: Can't instantiate abstract class AudioDataLayer with abstract methods create_ports #345

Closed
MiKueen opened this issue Feb 10, 2020 · 2 comments

Comments

@MiKueen
Copy link

MiKueen commented Feb 10, 2020

Hi!
I cloned NeMo repo and followed the documentation for using Nemo.
However, I get TypeError when I try to run examples/asr/notebooks/2_Online_ASR_Microphone_Demo.ipynb
image

I saw a similar issue #246, and used the solution mentioned in the issue. But I still get the same error.
How do I resolve this?
Please help!

@okuchaiev
Copy link
Member

Looks like you are somehow mixing master branch with 0.9 version.
The latest stable version is 0.9 (and docs and pip correspond to it). Could you please switch to 0.9 version and try again. If you want it from GitHub, the release is here: https://github.com/NVIDIA/NeMo/tree/v0.9.0

@MiKueen
Copy link
Author

MiKueen commented Feb 11, 2020

Yes when I checked out v0.9.0, I somehow merged it with the master branch. Later resolved it by cloning from latest release using git clone https://github.com/NVIDIA/NeMo.git -- branch v0.9.0, and as the latest version doesn't contain that notebook, the issue is resolved.
Thank you!

dcurran90 pushed a commit to dcurran90/NeMo that referenced this issue Oct 15, 2024
Add the ability to run `lab generate` against a custom OpenAI
compatible API endpoint. For example:

```
lab generate --endpoint-url https://api.openai.com/v1 --api-key "${OPENAI_API_KEY}" --model gpt-3.5-turbo
```

Of course, it could also be pointed at a local model, such as the one
hosted by `lab serve` or via some other means (like ollama).

Closes NVIDIA#345

Signed-off-by: Russell Bryant <rbryant@redhat.com>
Co-authored-by: Kai Xu <me@xuk.ai>
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

2 participants