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

Vector.to_disk exclude doesn't respect vectors #11833

Closed
MarcoGorelli opened this issue Nov 19, 2022 · 1 comment · Fixed by #11834
Closed

Vector.to_disk exclude doesn't respect vectors #11833

MarcoGorelli opened this issue Nov 19, 2022 · 1 comment · Fixed by #11834

Comments

@MarcoGorelli
Copy link
Contributor

How to reproduce the behaviour

    nlp = English()
    nlp.vocab.to_disk(d, exclude=("vectors", "lookups"))

Note that 'vectors' will still be saved to the path

Your Environment

  • Operating System: Linux DESKTOP-U8OKFP3 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Python Version Used: 3.10.6
  • spaCy Version Used: build from source, commit 89bfd06
  • Environment Information:
@github-actions
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant