These are chat archives for thunder-project/thunder
As I have moved on to tutorials and am now working with my data, I am running into some issues loading the image files.
My data are 16-bit multipage-tif stacks that are 1024x1024 with 2047 time points within the single tif. As per some of the above discussion with 16-bit images being loaded in thunder, I have tried a few things. These include loading the images with PIL on my cluster environment and converting the image stack to 8-bit. PIL can open both the 16 and 8 bit images fine. I am trying to load the files with:
data = tsc.loadImages(imagepath, inputFormat='tif')
data = tsc.loadImages(imagepath, inputFormat='tif', startIdx=0, stopIdx=10)
In both cases, I get:
dtype: None (inspect to compute)
shape: None (inspect to compute)
dims: None (inspect to compute)
When I try to inspect the structure, I get an overload issue and crashes and won't load.
Since I am running in interactive mode, I anticipate I may be overloading the executor's memory in trying to load these images. However, I hoped to fix that using the startIdx, stopIdx arguments.
Is there something I need to do differently to load a multipage tif stack correctly? Do startIdx and stopIdx work the same way in this setting?