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

Incorrect location of bpe_simple_vocab_16e6.txt.gz #47

Open
siddancha opened this issue Apr 13, 2024 · 0 comments
Open

Incorrect location of bpe_simple_vocab_16e6.txt.gz #47

siddancha opened this issue Apr 13, 2024 · 0 comments

Comments

@siddancha
Copy link

Problem

When I try importing:

from featup.plotting import plot_feats, plot_lang_heatmaps

I get the following error:

FileNotFoundError: [Errno 2] No such file or directory: '/home/sancha/repos/diffunc/.venv/lib/python3.10/site-packages/featup/featurizers/maskclip/bpe_simple_vocab_16e6.txt.gz'

Temporary resolution

The file is indeed present in python3.10/site-packages/clip but not in python3.10/site-packages/featup/featurizers/maskclip/. I temporarily fix it by creating a symlink:

ln -s `pwd`/.venv/lib/python3.10/site-packages/clip/bpe_simple_vocab_16e6.txt.gz   .venv/lib/python3.10/site-packages/featup/featurizers/maskclip/
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