Skip to content

nakamura21/PNCC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PNCC implementation in Python

Based on

put a slide about PNCC

Installation:

Clone and install requirements.

cd ~
git clone https://github.com/supikiti/PNCC.git
cd PNCC
pip install -r requirements.txt
$ python train.py --lstm-node 32 --recurrent-dropout 0.5 --epochs 10 --optimizer-method adam
$ python train.py -l 32 -r 0.5 -e 10 -r adam
$ pip install keras 
$ pip install librosa 
$ pip install soundfile
$ python predict.py sample.wav

csj_parser.pyのオプションは以下の通りです。

引数 説明
--lstm-node, -l LSTMのノード数(デフォルト32)
--recurrent-dropout, -d 再帰の線形変換においてdropするユニットの割合(デフォルト0.5)
--epochs, -e モデルを訓練するエポック数(デフォルト10)
--optimizer-method, -r 用いる最適化アルゴリズム(デフォルトadam)
--voice-data, -f 訓練用データ(trainデータ)と検証データ(testデータ)が存在するディレクトリへのパス(デフォルト./corpus/)

Licence

MIT

Author

supikiti

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%