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

albumentations version conflict #648

Closed
OrianeN opened this issue Oct 8, 2024 · 1 comment
Closed

albumentations version conflict #648

OrianeN opened this issue Oct 8, 2024 · 1 comment

Comments

@OrianeN
Copy link

OrianeN commented Oct 8, 2024

Hello,

I just tried to install kraken in order to use the training 'ketos' script, but faced some issues in the process:

  1. The albumentations dependency was not installed, so I installed it manually with pip install . (probably v1.4.17)
  2. When running 'ketos' again, I got a very frightening error ending with :

ValidationError: 1 validation error for InitSchema
alpha_affine
Input should be None [type=none_required, input_value=0.25, input_type=float]
For further information visit https://errors.pydantic.dev/2.9/v/none_required

  1. @PonteIneptique compared my dependencies versions to his and we noticed that his albumentations version was behind, so I downgraded it to v1.4.2 which solved the problem.

I've just found the installation option kraken[augment] in setup.cfg, yet albumentations is not associated with a version there, so maybe you could add it to avoid that other users get stuck because of this version conflict.

@mittagessen
Copy link
Owner

mittagessen commented Oct 8, 2024 via email

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