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

ValueError: Unable to create tensor #7

Open
gwro opened this issue Aug 10, 2024 · 1 comment
Open

ValueError: Unable to create tensor #7

gwro opened this issue Aug 10, 2024 · 1 comment

Comments

@gwro
Copy link

gwro commented Aug 10, 2024

When just installed I got:

ValueError: Unable to create tensor, you should probably activate padding with 'padding=True' to have batched tensors with the same length.

Solution:

pipx inject blip-caption 'numpy==1.24' --force
@Chrisnoome
Copy link

this fails as follows:

PS C:\testpics> pipx inject blip-caption 'numpy==1.24' --force
Fatal error from pip prevented installation. Full pip output in file:
C:\Users\chris\pipx\logs\cmd_2024-12-10_18.25.46_pip_errors.log

pip seemed to fail to build package:
numpy==1.24

Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
Error installing numpy from spec 'numpy==1.24'.

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

2 participants