Everything you need to run Espnet!
5.6K
Everything you need to run Espnet! Just pull it, and you will find espnet and kaldi and everything you need are right there!
After pulling, you can directly run any command such as
./run.sh --backend pytorchfrom espnet.bin.asr_recog import get_parserEspnet locates at /opt/espnet.
All tags are with the same configurations that allows easy usage of Espnet. Their differences are:
It could be easy to develop and debug programs within the docker if we can SSH it using third-party softwares such as VS Code. That's what Latest tag is built for.
To allow SSH connection, first, you should pull the docker by calling
docker run --gpus all -v [local folder]:[docker folder] -it jindongwang/espnet
Now you are in the docker. Then, you should type this command:
/usr/sbin/sshd -D &
Then, you can SSH to the docker in the host machine by ssh root@<your container ip>. Container ip can be obtained by ifconfig inside docker.
If you want to connect to the docker directly using SSH on other computers other than host machines, you should run docker by calling the port forward:
docker run --gpus all -v [local folder]:[docker folder] -it -p 44444:22 <docker_name>
Here, port 44444 can be set at your will. This is just for port forwarding.
Then, you can access your docker in any machine by ssh -p 44444 root@<host machine ip>.
NOTE: To access the docker using SSH-keys, you should put your pub keys (either host or your local computer) into the ~/.ssh/authorized_keys file inside docker.
For instance, we can use VS Code to connect the docker in a remote host by adding the following lines to your VS Code .ssh config file:
Host docker
HostName <your host machine ip>
User root
Port 44444
Content type
Image
Digest
Size
7.7 GB
Last updated
about 6 years ago
docker pull jindongwang/espnet