NeMo icon indicating copy to clipboard operation
NeMo copied to clipboard

is Forced Alignment available on prebuilt Docker images?

Open mgs96 opened this issue 10 months ago • 1 comments

Hello!

I'm working with the Forced aligner and so far everything has been positive!

Now I wanted to use the prebuilt docker images provided by Nvidia, but when exploring the images I don't see any reference to the Forced Aligner script I used on the Google Colab example you provide.

Is this expected? Do I have to use the pytorch:23.10-py3 Docker image and install NeMo from GitHub?

Thanks in advance.

mgs96 avatar Apr 22 '24 18:04 mgs96

Hi! If you want use NeMo, you can either use the PyTorch container and install NeMo on it, or use a NeMo speech container. There are instructions for both in the README, e.g. here. AFAIK, neither type of container contains any of the tools from this directory. However, all of those tools are essentially relatively lightweight Python scripts that use NeMo (and maybe some other dependencies that are mentioned in their requirements files).

So if I were you, I would set up one of the Docker containers and make sure NeMo is installed, then git clone the NeMo repository so that you have access to the NFA scripts here: https://github.com/NVIDIA/NeMo/tree/main/tools/nemo_forced_aligner.

Then you should be able to use NFA inside the container by calling the <path to your NeMo location>/tools/nemo_forced_aligner/align.py script.

erastorgueva-nv avatar Apr 23 '24 23:04 erastorgueva-nv

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar May 24 '24 01:05 github-actions[bot]

Hi, marking as closed since I believe the issue is resolved.

erastorgueva-nv avatar May 24 '24 18:05 erastorgueva-nv