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

Missing pkl files #15

Closed
abuvaneswari opened this issue May 4, 2023 · 4 comments
Closed

Missing pkl files #15

abuvaneswari opened this issue May 4, 2023 · 4 comments

Comments

@abuvaneswari
Copy link

Hi,

When I execute:
python run_pipeline.py

I encounter the error:
FileNotFoundError: [Errno 2] No such file or directory: 'cache/vector/repos/repositories/huggingface_diffusers_ws20_slice2.one-gram.pkl'

In fact, there is no pkl file available under: cache/vector/repos/repositories/
Also, no pkl file is present under: cache/window/random_api/gt/repositories/

Please upload the missing pkl files. Or, supply instructions on the method to generate these pkl files.

Thank you

@HMJW
Copy link

HMJW commented Jul 6, 2023

Same question... The author had better fix the bugs in the code as soon as possible...

@pitikorn32
Copy link

face same issue...

@leonelmota
Copy link

Someone found a solution?

@zfj1998
Copy link
Collaborator

zfj1998 commented May 3, 2024

Thanks for your interest in our work. Sorry for the late. The cache files under "vector/repos/" are vectorized code fragments built from the code files within a repo. During code search, the vectorized code fragments are used for similarity comparison. So before running RG1 or repocoder method, we need to vectorize the code windows produced from each repo by calling the vectorize_repo_windows() function. I have updated the code in this commit (6a6ef63). Sorry for the inconvenience again.

@zfj1998 zfj1998 closed this as completed May 3, 2024
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

5 participants