lowerquality / gentle

gentle forced aligner
https://lowerquality.com/gentle/
MIT License
1.45k stars 295 forks source link

How to run it in Colab? #248

Closed qo4on closed 4 years ago

qo4on commented 4 years ago

I do the following, but the installation is going forever:

!git clone -q https://github.com/lowerquality/gentle.git > /dev/null
%cd /content/gentle
!./install.sh
Mistobaan commented 4 years ago

Building Kaldi in Colab will take forever. Better to build the project somewhere else and upload it on Colab with Google Drive.

qo4on commented 4 years ago

Why?

Mistobaan commented 4 years ago

Colab has only one or two CPUs and limited disk space and is pre-emptive, so the instance could die at any time in your 4h compilation period.

qo4on commented 4 years ago

Yes, Colab has 2 CPUs, but when it runs you get all its power. I saw only a few seconds delay when I run a cell because of pre-emptiveness. 37 GB of free disk space is more than enough I think. Gentle needs 4 hours to compile? Are you sure? Is there a compiled version?

Mistobaan commented 4 years ago

No. It doesn't have a pre-built package for Linux. And I never tried running Docker in colab. Yes it takes a while, and Kaldi is the slow path not gentle.