Closed Kirankumar2609 closed 1 year ago
I had that issue and fixed it by changing num_workers to 0.
Yep, changing num_workers to 0 in helpers.py fixed it for me, too (running on M1 CPU)
It's a common gotcha' that Jupyter notebooks are prone to being bad at multi-threaded work, then though the system might be able to handle multiple workers/threads. I think this might be because of the nature of notebooks themselves, since they're running a single Kernel. The last sentence is guesswork, but I've personally have had problems with multi-threaded work prior.
So I use notebooks for prototyping, and then once I'm happy with the results, I'll extract the code to a standalone script. :v:
While trying to diarize using the MSDD model, I get the below error:
PicklingError: Can't pickle <class 'nemo.collections.common.parts.preprocessing.collections.SpeechLabelEntity'>: attribute lookup SpeechLabelEntity on nemo.collections.common.parts.preprocessing.collections failed
Kindly acknowledge if anyone had encountered this and solved it.