[BHEU2024] Fix bioimage_inference tool with 3D images#1544
[BHEU2024] Fix bioimage_inference tool with 3D images#1544kostrykin wants to merge 3 commits intobgruening:masterfrom
Conversation
|
@anuprulez Any idea what might be going on here? |
|
@kostrykin I had a look into 3DUNetArabidopsisApicalStemCells.pt and its RDF file. In the RDF file, the but when I load the NPY file, it is actually 5-dimensional. The 5-dimensional file works as correct test data with the associated Pytorch model. In the Galaxy tool, I use the information from the RDF file to find the right number and order of dimensions. But, for this 3DUNetArabidopsisApicalStemCells 3D mode, it seems to be different to me. Do we have separate information that can be used to provide the model to find the correct number of input file dimensions? |
|
How do we proceed here? |
|
I spent some time last week fixing this issue but have not been successful. I am trying to include methods from bioimage.core package to assess the input size of the image. @bgruening can you assign this issue to me? thanks! |
|
@anuprulez sure, assigned :) |


The tool yields an error when we try to use a 3D image. For example, using the 3DUNetArabidopsisApicalStemCells.pt model and an image with shape
256,256,2,1yields the error:Original PR for this tool: #1391
xref FAIR-imaging/galaxy-image-community#26