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

Problem with patch and slices when images are not in the CAPS #345

Open
ravih18 opened this issue Sep 20, 2022 · 0 comments
Open

Problem with patch and slices when images are not in the CAPS #345

ravih18 opened this issue Sep 20, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ravih18
Copy link
Collaborator

ravih18 commented Sep 20, 2022

When training a model on patches or slices, the CapsDataset instance counts the number of elements per images. For that it needs to access the size of the image. However, if the user launch the extract command with the save_feature option, the pipeline will directly save the patches/slices without saving the images. And then the train command will crash because it cannot find the images.

  • We can by default save the images when launching the extract pipeline (even if we extract patch | slice | roi)
  • Or we can maybe pass the image size or the number of extracted elements as a meta data through the extract json
@ravih18 ravih18 changed the title Problem with extr Problem with patch and slices when images are not in the CAPS Sep 20, 2022
@ravih18 ravih18 added the bug Something isn't working label Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant