Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modifiedetc/nnet/ALERT/model_AHDC/model_AHDC.pt
Binary file not shown.
10 changes: 5 additions & 5 deletions parent/pom.xml
Original file line numberDiff line numberDiff line change
Expand Up@@ -24,7 +24,7 @@
<dependency>
<groupId>ai.djl</groupId>
<artifactId>bom</artifactId>
<version>0.31.1</version>
<version>0.32.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand DownExpand Up@@ -62,20 +62,20 @@
<dependency>
<groupId>ai.djl</groupId>
<artifactId>model-zoo</artifactId>
<version>0.30.0</version>
<version>0.32.0</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>ai.djl.pytorch</groupId>
<artifactId>pytorch-model-zoo</artifactId>
<version>0.31.1</version>
<version>0.32.0</version>
</dependency>

<dependency>
<groupId>ai.djl.pytorch</groupId>
<artifactId>pytorch-engine</artifactId>
<version>0.31.1</version>
<version>0.32.0</version>
<scope>runtime</scope>
</dependency>

Expand All@@ -90,7 +90,7 @@
<dependency>
<groupId>ai.djl.pytorch</groupId>
<artifactId>pytorch-jni</artifactId>
<version>2.4.0-0.30.0</version>
<version>2.5.1-0.32.0</version>
<scope>runtime</scope>
</dependency>

Expand Down
Original file line numberDiff line numberDiff 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