Skip to content

Commit

Permalink
allow building
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 27, 2023
1 parent 812768f commit b1239a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/bioimage/modelrunner/model/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ public static <T extends NativeType<T> & RealType<T>> void main(String[] args) t
String mm = "C:\\Users\\angel\\OneDrive\\Documentos\\pasteur\\git\\model-runner-java\\models\\\\EnhancerMitochondriaEM2D_22092023_133921\\";
Img<FloatType> im = ArrayImgs.floats(new long[] {1, 1, 512, 512});
List<Tensor<T>> l = new ArrayList<Tensor<T>>();
l.add((Tensor<T>) Tensor.build("input0", "bcyx", im));
l.add((Tensor<T>) Tensor.build("input0", "bcyx", (Img<T>) im));
Model model = createBioimageioModel(mm);
model.loadModel();
Map<String, int[]> tilingList = new LinkedHashMap<String, int[]>();
Expand Down

0 comments on commit b1239a0

Please sign in to comment.