CGCL-codes / naturalcc

NaturalCC: An Open-Source Toolkit for Code Intelligence
http://xcodemind.github.io
MIT License
275 stars 46 forks source link

FileNotFoundError: [Errno 2] No such file or directory: '~/.ncc/code_search_net_feng/summarization/java/data-mmap/code_tokens.dict.jsonl' #15

Open EileenWang1228 opened 2 years ago

EileenWang1228 commented 2 years ago

Dear Authors: When I run all projects under naturalcc/run/summarization, there will be an error like "FileNotFoundError: [Errno 2] No such file or directory: '~/.ncc/code_search_net_feng/summarization/java/data-mmap/code_tokens.dict.jsonl". where can I get these .dict.jsonl files. Looking for your reply.
Thank you.

chenqiuyuan commented 2 years ago

These files are intermediate data produced by prepocessing scripts: naturalcc/dataset/codesearchnet/summarization/

Maybe you can refer to this config file: naturalcc/dataset/codesearchnet/summarization/config/preprocess_multiattrs_java.yml