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

jsonargpase issue with albumentations. #295

Open
Joao-L-S-Almeida opened this issue Dec 5, 2024 · 4 comments
Open

jsonargpase issue with albumentations. #295

Joao-L-S-Almeida opened this issue Dec 5, 2024 · 4 comments
Assignees

Comments

@Joao-L-S-Almeida
Copy link
Member

Joao-L-S-Almeida commented Dec 5, 2024

Describe the issue
Albumentations transforms are not being properly parsed by jsonargpase.

To Reproduce (optional, but appreciated)

 terratorch fit -c  tests/resources/configs/manufactured-finetune_prithvi_vit_100.yaml

Screenshots or log output (optional)

            - Expected a <class 'NoneType'>
            - Problem with given class_path 'albumentations.HorizontalFlip':
                Validation failed: Key 'p' is not expected

However, the argument p exists.

@Joao-L-S-Almeida Joao-L-S-Almeida self-assigned this Dec 5, 2024
@romeokienzler
Copy link
Collaborator

For me it was working on albu.. 1.3.1, can't install albumentations==1.4.21 (dep. conflict)

@romeokienzler
Copy link
Collaborator

@Joao-L-S-Almeida can you please send exact instructions to reproduce? can't reproduce on my side

@romeokienzler
Copy link
Collaborator

@Joao-L-S-Almeida investigating
(cn u install 1.4.21 on main?)

@romeokienzler
Copy link
Collaborator

@Joao-L-S-Almeida saying, it is working on 1.4.10
@romeokienzler to test

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