MIScnn
MIScnn copied to clipboard
Prediction image dimensions.
trafficstars
Hello,
Is there any way to adjust this input image dimensions?
Clearly, case_00300 has different dimensions, compared to the rest of the dataset. Thus, I see the following error:
Any help would be greatly appreciated!
Hi @lcaronson,
there are two ways which pop in my mind:
- Fixing this beforehand via loading the suspicious cases and switch the axis via NumPy. This is the way, I would highly recommend as it is probably the most cleanest approach to do it in the 'data exploration & preparation' step of your machine learning pipeline.
- Fixing this via a subfunction by check any case during the preprocessing if the axes are correct and if not, switch the first one with the z-axis.
Cheers, Dominik