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

using dask .compute() to load images into memory is broken by transform function #20

Open
nthndy opened this issue Apr 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@nthndy
Copy link
Contributor

nthndy commented Apr 8, 2022

I am really unsure how to fix this as im not overly familiar with the dask .compute() operation but when you try and invoke it whilst also using a transform it struggles to find individual image filenames in the list of files, mainly because it looks like its loading and reloading the list of file names multiple times for one .compute(). I am lost!

@nthndy nthndy added the bug Something isn't working label Apr 8, 2022
@nthndy
Copy link
Contributor Author

nthndy commented Apr 8, 2022

i should add that the first time it loads the list of files here it gets a list of length 0, then a correct length list, all for one .compute()

files = self.files(channel.name)

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