mravanelli / pytorch-kaldi

pytorch-kaldi is a project for developing state-of-the-art DNN/RNN hybrid speech recognition systems. The DNN part is managed by pytorch, while feature extraction, label computation, and decoding are performed with the kaldi toolkit.
2.36k stars 446 forks source link

ValueError: Precision not allowed in integer format specifier #215

Closed mnabihali closed 4 years ago

mnabihali commented 4 years ago

Hi, I am trying to run an experiment using MLP and MFCC basic and this gives me such of this error

Traceback (most recent call last): File "run_exp.py", line 133, in create_lists(config) File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/pytorch-kaldi/utils.py", line 1234, in create_lists

TParcollet commented 4 years ago

Hi, could you please try to print fea_names[I] ?

mnabihali commented 4 years ago

If I understand correctly. I put a print fea_names[i] in utils.py and gives me MFCC multiple times

On Fri, Mar 6, 2020 at 1:51 PM Parcollet Titouan notifications@github.com wrote:

Hi, could you please try to print fea_names[I] ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mravanelli/pytorch-kaldi/issues/215?email_source=notifications&email_token=ANWBGBAP4MKDL5YNIQR4H23RGDWWVA5CNFSM4LC5XRGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBH26A#issuecomment-595754360, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWBGBCSII6HVRKUVLDWUYLRGDWWVANCNFSM4LC5XRGA .

-- Mohamed Nabih Ali *Assistant *Lecturer Faculty of Computers and IT Egyptian E-Learning University Ain Shams Center Mail: mohmed.nabih@gmail.com mohmed.nabih@gmail.com Mobile: +201285659213

Work: 02-33318417

TParcollet commented 4 years ago

What is the output of this print ?

mnabihali commented 4 years ago

a string like this MFCC MFCC MFCC MFCC

On Fri, Mar 6, 2020 at 2:21 PM Parcollet Titouan notifications@github.com wrote:

What is the output of this print ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mravanelli/pytorch-kaldi/issues/215?email_source=notifications&email_token=ANWBGBHLPZWSCBKP2J2XWVTRGD2E7A5CNFSM4LC5XRGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBKL3Y#issuecomment-595764719, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWBGBHPOY745PNZKH2IFCTRGD2E7ANCNFSM4LC5XRGA .

-- Mohamed Nabih Ali *Assistant *Lecturer Faculty of Computers and IT Egyptian E-Learning University Ain Shams Center Mail: mohmed.nabih@gmail.com mohmed.nabih@gmail.com Mobile: +201285659213

Work: 02-33318417

mnabihali commented 4 years ago

a string [MFCC MFCC MFCC]

TParcollet commented 4 years ago

This is some very weird bug. have you changed anything to the scripts, or is it a fresh pytorch-kaldi install ?

mnabihali commented 4 years ago

Fresh one But I can delete it and download it from scratch

On Fri, Mar 6, 2020 at 2:26 PM Parcollet Titouan notifications@github.com wrote:

This is some very weird bug. have you changed anything to the scripts, or is it a fresh pytorch-kaldi install ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mravanelli/pytorch-kaldi/issues/215?email_source=notifications&email_token=ANWBGBA3ZTC2PIQ6BEMNQADRGD2ZVA5CNFSM4LC5XRGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBK4GY#issuecomment-595766811, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWBGBEB5SRLOXL63G3SRMTRGD2ZVANCNFSM4LC5XRGA .

-- Mohamed Nabih Ali *Assistant *Lecturer Faculty of Computers and IT Egyptian E-Learning University Ain Shams Center Mail: mohmed.nabih@gmail.com mohmed.nabih@gmail.com Mobile: +201285659213

Work: 02-33318417

TParcollet commented 4 years ago

You just changed some path on the cfg right, nothing more ?

mnabihali commented 4 years ago

Yes this what I did changing to my paths

On Fri, Mar 6, 2020 at 2:31 PM Parcollet Titouan notifications@github.com wrote:

You just changed some path on the cfg right, nothing more ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mravanelli/pytorch-kaldi/issues/215?email_source=notifications&email_token=ANWBGBBATECTSLTHMI26URTRGD3K7A5CNFSM4LC5XRGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBLJJA#issuecomment-595768484, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWBGBBGSCJSVDXSPZVL4CLRGD3K7ANCNFSM4LC5XRGA .

-- Mohamed Nabih Ali *Assistant *Lecturer Faculty of Computers and IT Egyptian E-Learning University Ain Shams Center Mail: mohmed.nabih@gmail.com mohmed.nabih@gmail.com Mobile: +201285659213

Work: 02-33318417

mravanelli commented 4 years ago

What is you python version?

On Mar 6, 2020 08:31, "Parcollet Titouan" notifications@github.com wrote:

You just changed some path on the cfg right, nothing more ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mravanelli/pytorch-kaldi/issues/215?email_source=notifications&email_token=AEA2ZVRLGPCPQQE5MD46OWLRGD3LJA5CNFSM4LC5XRGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBLJJA#issuecomment-595768484, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEA2ZVXQKD36KZ6TOQVHGL3RGD3LJANCNFSM4LC5XRGA .

mnabihali commented 4 years ago

Python 3.7.4

On Fri, Mar 6, 2020 at 2:35 PM Mirco Ravanelli notifications@github.com wrote:

What is you python version?

On Mar 6, 2020 08:31, "Parcollet Titouan" notifications@github.com wrote:

You just changed some path on the cfg right, nothing more ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/mravanelli/pytorch-kaldi/issues/215?email_source=notifications&email_token=AEA2ZVRLGPCPQQE5MD46OWLRGD3LJA5CNFSM4LC5XRGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBLJJA#issuecomment-595768484 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AEA2ZVXQKD36KZ6TOQVHGL3RGD3LJANCNFSM4LC5XRGA

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mravanelli/pytorch-kaldi/issues/215?email_source=notifications&email_token=ANWBGBEU3CF6HBLZMO6336TRGD3YRA5CNFSM4LC5XRGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBLTDI#issuecomment-595769741, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWBGBDBSUFPON3K3IFCNWDRGD3YRANCNFSM4LC5XRGA .

-- Mohamed Nabih Ali *Assistant *Lecturer Faculty of Computers and IT Egyptian E-Learning University Ain Shams Center Mail: mohmed.nabih@gmail.com mohmed.nabih@gmail.com Mobile: +201285659213

Work: 02-33318417

mnabihali commented 4 years ago

Solved I use Python 3.6 as a default and I is working

Thanks, Mirco and Parcollet

TParcollet commented 4 years ago

Ok so we have to do some compliance work here. Thanks .