runtime error
Exit code: 1. Reason: p_infer File "/home/user/app/dataset/dataloader_demo.py", line 79, in <lambda> self.data['phoneme'] = self.data['text'].apply(lambda x: self.g2p(re.sub(r"[^a-zA-Z0-9]+", ' ', x))) File "/home/user/app/dataset/g2p/g2p_en/g2p.py", line 165, in __call__ tokens = pos_tag(words) # tuples of (word, tag) File "/usr/local/lib/python3.10/site-packages/nltk/tag/__init__.py", line 168, in pos_tag tagger = _get_tagger(lang) File "/usr/local/lib/python3.10/site-packages/nltk/tag/__init__.py", line 110, in _get_tagger tagger = PerceptronTagger() File "/usr/local/lib/python3.10/site-packages/nltk/tag/perceptron.py", line 183, in __init__ self.load_from_json(lang) File "/usr/local/lib/python3.10/site-packages/nltk/tag/perceptron.py", line 273, in load_from_json loc = find(f"taggers/averaged_perceptron_tagger_{lang}/") File "/usr/local/lib/python3.10/site-packages/nltk/data.py", line 579, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource [93maveraged_perceptron_tagger_eng[0m not found. Please use the NLTK Downloader to obtain the resource: [31m>>> import nltk >>> nltk.download('averaged_perceptron_tagger_eng') [0m For more information see: https://www.nltk.org/data.html Attempted to load [93mtaggers/averaged_perceptron_tagger_eng/[0m Searched in: - '/home/user/nltk_data' - '/usr/local/nltk_data' - '/usr/local/share/nltk_data' - '/usr/local/lib/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** Exception ignored in: <function Pool.__del__ at 0x7f997acc56c0> Traceback (most recent call last): File "/usr/local/lib/python3.10/multiprocessing/pool.py", line 271, in __del__ File "/usr/local/lib/python3.10/multiprocessing/queues.py", line 371, in put AttributeError: 'NoneType' object has no attribute 'dumps'
Container logs:
Fetching error logs...