A-Hackers-AI-Voice-Assistant icon indicating copy to clipboard operation
A-Hackers-AI-Voice-Assistant copied to clipboard

installing CTCDECODE

Open samano99 opened this issue 4 years ago • 25 comments

Screenshot (26) Any solution on installing missing dependencies?

samano99 avatar Oct 16 '20 10:10 samano99

You need to make it from source. Follow the instructions under the ctcdecode readme

KnifeOfDunwall avatar Oct 16 '20 11:10 KnifeOfDunwall

Also. Get wsl2. Most of the code in this project does not run in default windows

KnifeOfDunwall avatar Oct 16 '20 11:10 KnifeOfDunwall

thank you!!

samano99 avatar Oct 17 '20 10:10 samano99

Screenshot (30) i followed but it came out like this

samano99 avatar Oct 18 '20 14:10 samano99

i solve don't use anaconda and use only wsl2 in windows :)

daniele777 avatar Mar 07 '21 12:03 daniele777

@daniele777 thank you man:)

NoCodeAvaible avatar Apr 05 '21 14:04 NoCodeAvaible

@daniele777 do you think that it is possible to use linux? Because wsl2 is a linux virtual machine.

NoCodeAvaible avatar Apr 05 '21 17:04 NoCodeAvaible

Yes with Linux run ok ! What video card do you have ? I used deepin distribuition he have aleady have python 3.7 install.. Just install sudo apt-get python3-pip

daniele777 avatar Apr 05 '21 17:04 daniele777

@daniele777 ok so I have to use python version 3.7? I have an rtx3080:)

CracKCatZ avatar Apr 05 '21 17:04 CracKCatZ

@daniele777 I have an rtx3080:)

Good because i have an amd video card and can't use for train neural network now i see in pytorch there is an amd support But code fault with ROCm pytorch

daniele777 avatar Apr 05 '21 17:04 daniele777

Ok understand so u have to train neuronal nets over your CPU?

CracKCatZ avatar Apr 05 '21 18:04 CracKCatZ

With CUDA and cpu only can't go up to 2 epoch i use this Command

python3 train.py --sample_rate 8000 --epochs 2 --batch_size 32 --eval_batch_size 32 --lr 0.0001 --model_name ./new_wakeword_v0 --save_checkpoint_path neuralnet/checkpoints --train_data_json data/json/train.json --test_data_json data/json/test.json --num_workers 4 --hidden_size 64

Model was created but wakeword not recognized

daniele777 avatar Apr 05 '21 18:04 daniele777

Hmm

CracKCatZ avatar Apr 05 '21 18:04 CracKCatZ

@daniele777 I would try to reduce the batch size or work with steps instead of epochs

CracKCatZ avatar Apr 05 '21 18:04 CracKCatZ

How to work with steps and how many epochs minimal Need ?

daniele777 avatar Apr 05 '21 18:04 daniele777

@daniele777 I don't know but if u work with steps you have to change the code I thing

CracKCatZ avatar Apr 05 '21 18:04 CracKCatZ

@daniele777 do you know if Ubuntu and Linux is the same? Because I am about to format my machine to an Ubuntu machine.

CracKCatZ avatar Apr 06 '21 15:04 CracKCatZ

@KnifeOfDunwall how did you installed ctcdecode?

CracKCatZ avatar Apr 06 '21 15:04 CracKCatZ

I don't know for Ubuntu i used ctcdecode in Kali Linux and deepin distribuitions without problem

daniele777 avatar Apr 06 '21 15:04 daniele777

@daniele777 ok good to know:)

CracKCatZ avatar Apr 06 '21 16:04 CracKCatZ

@CrackCatZ Yesterday i train model but i have AMD video card,but have different Command on train.py ... and with only CPU can't train well thinking ...sample rate in train have same value of rate of WAV wakeword stored ? If you have time we can share our knolegment about, direcly on telegram or another like discord it's not simple to meet Person like vocal assistant :)

daniele777 avatar Apr 07 '21 04:04 daniele777

@daniele777 sure;)

CracKCatZ avatar Apr 07 '21 06:04 CracKCatZ

@daniele777 you can add me on dc:) Name:SheeeshForce1#8083

CracKCatZ avatar Apr 07 '21 06:04 CracKCatZ

Discord???

daniele777 avatar Apr 07 '21 07:04 daniele777

@daniele777 yes

NoCodeAvaible avatar Apr 07 '21 08:04 NoCodeAvaible