...
- (django_pod) pod@podv2:/usr/local/django_projects/podv2$ sudo aptitude install sox
- (django_pod) pod@podv2:/usr/local/django_projects/podv2$ sudo apt-get install libsox-fmt-mp3
Il faut également installer le module python ffmpeg-normalize
- (django_pod) pod@podv2:/usr/local/django_projects/podv2$ pip install ffmpeg-normalize
L'ensemble des fichiers créés (modèle, alphabet, lm.binary et trie) peuvent être stockés dans /usr/local/django_projects/transcription
...
'lm_beta': 1.4 # The beta hyperparameter of the CTC decoder / Word insertion bonus
}
}
"""
Pour tester l'encodage en ligne de commande :
$ python manage shell (pour lancer le shell)
$> from pod.video import transcript (dans le shell, je charge le module transcript de pod)
$>transcript.main_threaded_transcript(<video_id>) (j'appelle la fonction
main_threaded_transcript du module transcript pour transcrire la video dont l'identifiant est
<video_id>)
Pour construire un modèle DeepSpeech :
...