osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Regarding the error: TypeError: canít pickle _thread.lock objects


Winston Manuel Vijay <Winston.vijay at gsr-inc.com> writes:

> It would be of immense help, if someone could provide a suitable solution or related information that helps to sort out the below stated issue-
>
>
> ?  I had installed the Python version 3.6.4
>
> ?  Then I installed the package: Tensorflow
>
> ?  Installed g2p.exe by downloading from GitHub
>
> ?  Then tried running the below command-
>
> g2p-seq2seq --interactive --model <model_folder_path> (model_folder_path: is the path to an English model 2-layer LSTM with 512 hidden units CMU Sphinx dictionary downloaded from the CMU Sphinx website)
>
> Following the above procedure, I encountered the following error: TypeError: can.t pickle _thread.lock objects-please find the attached screenshot for your reference.

This looks like a programming error in "g2p-seq2sec": contact its
authors or try a different version.