Skip to content

Commit

Permalink
correct error
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Nov 29, 2024
1 parent fcebaa6 commit 15e9726
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 @@ -316,7 +316,7 @@ else if (ww.getFramework().equals(ModelWeight.getTensorflowID()) && !(new File(b
throw new IOException("Please install a compatible engine with the model weights. "
+ "To be compatible the engine has to be of the same framework and the major version needs to be the same. "
+ "The model weights are: " + descriptor.getWeights().getSupportedWeightNamesAndVersion());
Model model = new Model( info, bmzModelFolder, modelSource, null );
Model model = new Model( info, bmzModelFolder, modelSource, classloader );
model.descriptor = descriptor;
return model;
}
Expand Down

0 comments on commit 15e9726

Please sign in to comment.