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

dieter dieter at handshake.de
Fri Jan 5 01:55:51 EST 2018


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.




More information about the Python-list mailing list