Skip to content

Commit

Permalink
Fix issue this the path to load the model + new model to take into ac…
Browse files Browse the repository at this point in the history
…count the new GEMC geometry.
  • Loading branch information
mathieuouillon authored and baltzell committed Feb 12, 2025
1 parent c7c9910 commit 992441e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified etc/nnet/ALERT/model_AHDC/model_AHDC.pt
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public NDList processInput(TranslatorContext translatorContext, float[] floats)

String path = CLASResources.getResourcePath("etc/nnet/ALERT/model_AHDC/");
Criteria<float[], Float> my_model = Criteria.builder().setTypes(float[].class, Float.class)
.optModelPath(Paths.get("etc/nnet/ALERT/model_AHDC/"))
.optModelPath(Paths.get(path))
.optEngine("PyTorch")
.optTranslator(my_translator)
.optProgress(new ProgressBar())
Expand Down

0 comments on commit 992441e

Please sign in to comment.