Skip to content

Commit

Permalink
Fixed a memory leak, added robustness
Browse files Browse the repository at this point in the history
  • Loading branch information
alumae committed Dec 16, 2021
1 parent 8260f16 commit 980f1b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ Running and using the Docker container (with generic Estonian models) is outline

Pull the Docker image:

docker pull koodivaramu.eesti.ee:5050/taltechnlp/kiirkirjutaja
docker pull koodivaramu.eesti.ee:5050/taltechnlp/kiirkirjutaja:latest

Start Docker container (use the `--shm-size 2GB` argument because the program uses shared memory between for IPC):

docker run --shm-size 2GB --name kiirkirjutaja --rm -d -t koodivaramu.eesti.ee:5050/taltechnlp/kiirkirjutaja
docker run --shm-size 2GB --name kiirkirjutaja --rm -d -t koodivaramu.eesti.ee:5050/taltechnlp/kiirkirjutaja:latest

Decode a Vikerraadio real-time stream (it takes 10-20 seconds to load the models, and you'll get some warnings that can be usually ignored):

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ RUN git clone https://github.com/alumae/online_speaker_change_detector.git /opt/

RUN git clone https://github.com/alumae/et-g2p-fst.git /opt/et-g2p-fst

RUN echo '2021-12-08_11:14' >/dev/null \
RUN echo '2021-12-16_13:28' >/dev/null \
&& git clone https://github.com/alumae/kiirkirjutaja.git /opt/kiirkirjutaja \
&& cd /opt/kiirkirjutaja && ln -s ../models

Expand Down

0 comments on commit 980f1b4

Please sign in to comment.