Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错,FileNotFoundError: [Errno 2] No such file or directory: 'D:\\ProgramData\\Anaconda3\\envs\\deeplearning\\fool\\map.zip' #75

Open
gameliu007 opened this issue Nov 15, 2021 · 0 comments

Comments

@gameliu007
Copy link

File "C:/Users/Lenovo/PycharmProjects/mytest/pos_tagg.py", line 14, in
print(fool.cut(text))
File "C:\Users\Lenovo\AppData\Roaming\Python\Python37\site-packages\fool_init_.py", line 65, in cut
all_words = LEXICAL_ANALYSER.cut(text)
File "C:\Users\Lenovo\AppData\Roaming\Python\Python37\site-packages\fool\lexical.py", line 100, in cut
self._load_seg_model()
File "C:\Users\Lenovo\AppData\Roaming\Python\Python37\site-packages\fool\lexical.py", line 41, in _load_seg_model
self.seg_model = self._load_model("seg.pb", "char_map", "seg_map")
File "C:\Users\Lenovo\AppData\Roaming\Python\Python37\site-packages\fool\lexical.py", line 37, in _load_model
char_to_id, id_to_seg = _load_map_file(self.map_file_path, word_map_name, tag_name)
File "C:\Users\Lenovo\AppData\Roaming\Python\Python37\site-packages\fool\lexical.py", line 16, in _load_map_file
with ZipFile(path) as myzip:
File "D:\ProgramData\Anaconda3\envs\deeplearning\lib\zipfile.py", line 1240, in init
self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: 'D:\ProgramData\Anaconda3\envs\deeplearning\fool\map.zip'

这个目录也是有的,不知为何提示没有此文件或文件夹,还是一个不知名的问题引发的map.zip文件不能建立或者什么的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant