You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FileNotFoundError when use g2p , can you give me some suggesion? thanks!
>>> g2p = G2pC()
WARNING: features.pkl does not exist, try loading features.json
WARNING: features.json does not exist, try loading using old format
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/ssd1/exec/hanyaqian/script/venv3/lib64/python3.6/site-packages/g2pc/g2pc.py", line 171, in __init__
self.seg = pkuseg.pkuseg(postag=True)
File "/ssd1/exec/hanyaqian/script/venv3/lib64/python3.6/site-packages/pkuseg/__init__.py", line 257, in __init__
self.tagger = Postag(postag_dir)
File "/ssd1/exec/hanyaqian/script/venv3/lib64/python3.6/site-packages/pkuseg/postag/__init__.py", line 16, in __init__
self.feature_extractor = FeatureExtractor.load(modelDir)
File "pkuseg/postag/feature_extractor.pyx", line 318, in pkuseg.postag.feature_extractor.FeatureExtractor.load
FileNotFoundError: [Errno 2] No such file or directory: '/home/hanyaqian/.pkuseg/postag/featureIndex.txt_0'
>>>
The text was updated successfully, but these errors were encountered:
FileNotFoundError when use g2p , can you give me some suggesion? thanks!
The text was updated successfully, but these errors were encountered: