We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6959de8 commit fc57c88Copy full SHA for fc57c88
src/main/java/io/bioimage/modelrunner/tensorflow/v1/tensor/ImgLib2Builder.java
@@ -118,6 +118,7 @@ private static RandomAccessibleInterval<IntType> buildFromTensorInt(Tensor<Integ
118
119
private static RandomAccessibleInterval<FloatType> buildFromTensorFloat(Tensor<Float> tensor) {
120
long[] arrayShape = tensor.shape();
121
+ System.out.println(Arrays.asList(arrayShape));
122
if (CommonUtils.int32Overflows(arrayShape, 4))
123
throw new IllegalArgumentException("Model output tensor with shape " + Arrays.toString(arrayShape)
124
+ " is too big. Max number of elements per float output tensor supported: " + Integer.MAX_VALUE / 4);
0 commit comments