|
12 | 12 | <maven.compiler.source>11</maven.compiler.source> |
13 | 13 | <maven.compiler.target>11</maven.compiler.target> |
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | | - <smartjavaai.version>1.0.27</smartjavaai.version> |
| 15 | + <smartjavaai.version>1.1.0</smartjavaai.version> |
16 | 16 | <!--如果打包运行,需要替换成你的main--> |
17 | 17 | <exec.mainClass>smartai.examples.face.facedet.FaceDetDemo</exec.mainClass> |
18 | 18 |
|
|
88 | 88 | <artifactId>face</artifactId> |
89 | 89 | </dependency> |
90 | 90 |
|
91 | | - |
92 | 91 | <dependency> |
93 | 92 | <groupId>ai.djl.pytorch</groupId> |
94 | 93 | <artifactId>pytorch-jni</artifactId> |
95 | | - <version>2.5.1-0.32.0</version> |
| 94 | + <version>2.7.1-0.34.0</version> |
96 | 95 | <scope>runtime</scope> |
97 | 96 | </dependency> |
98 | 97 |
|
|
129 | 128 | <groupId>ai.djl.pytorch</groupId> |
130 | 129 | <artifactId>pytorch-native-cpu</artifactId> |
131 | 130 | <classifier>${djl.platform.windows-x86_64}</classifier> |
132 | | - <version>2.5.1</version> |
| 131 | + <version>2.7.1</version> |
133 | 132 | <scope>runtime</scope> |
134 | 133 | </dependency> |
135 | 134 |
|
|
167 | 166 | <groupId>ai.djl.pytorch</groupId> |
168 | 167 | <artifactId>pytorch-native-cpu</artifactId> |
169 | 168 | <classifier>${djl.platform.linux-x86_64}</classifier> |
170 | | - <version>2.5.1</version> |
| 169 | + <version>2.7.1</version> |
171 | 170 | <scope>runtime</scope> |
172 | 171 | </dependency> |
| 172 | + |
| 173 | + <!-- linux aarch64 平台 (保留对应平台的配置,可以减小包大小)--> |
173 | 174 | <dependency> |
174 | | - <groupId>ai.djl.pytorch</groupId> |
175 | | - <artifactId>pytorch-native-cpu-precxx11</artifactId> |
176 | | - <classifier>${djl.platform.linux-x86_64}</classifier> |
177 | | - <version>2.5.1</version> |
178 | | - <scope>runtime</scope> |
| 175 | + <groupId>org.bytedeco</groupId> |
| 176 | + <artifactId>javacpp</artifactId> |
| 177 | + <version>${javacv.version}</version> |
| 178 | + <classifier>${javacv.platform.linux-arm64}</classifier> |
| 179 | + </dependency> |
| 180 | + <dependency> |
| 181 | + <groupId>org.bytedeco</groupId> |
| 182 | + <artifactId>ffmpeg</artifactId> |
| 183 | + <version>6.1.1-1.5.10</version> |
| 184 | + <classifier>${javacv.platform.linux-arm64}</classifier> |
179 | 185 | </dependency> |
180 | 186 |
|
| 187 | + <dependency> |
| 188 | + <groupId>org.bytedeco</groupId> |
| 189 | + <artifactId>openblas</artifactId> |
| 190 | + <version>0.3.26-1.5.10</version> |
| 191 | + <classifier>${javacv.platform.linux-arm64}</classifier> |
| 192 | + </dependency> |
181 | 193 |
|
| 194 | + <dependency> |
| 195 | + <groupId>org.bytedeco</groupId> |
| 196 | + <artifactId>opencv</artifactId> |
| 197 | + <version>4.9.0-1.5.10</version> |
| 198 | + <classifier>${javacv.platform.linux-arm64}</classifier> |
| 199 | + </dependency> |
182 | 200 |
|
| 201 | + <dependency> |
| 202 | + <groupId>ai.djl.pytorch</groupId> |
| 203 | + <artifactId>pytorch-native-cpu</artifactId> |
| 204 | + <classifier>${djl.platform.linux-aarch64}</classifier> |
| 205 | + <version>2.7.1</version> |
| 206 | + <scope>runtime</scope> |
| 207 | + </dependency> |
183 | 208 |
|
184 | 209 | <!-- macOS M系列 平台 (保留对应平台的配置,可以减小包大小)--> |
185 | 210 | <dependency> |
|
213 | 238 | <groupId>ai.djl.pytorch</groupId> |
214 | 239 | <artifactId>pytorch-native-cpu</artifactId> |
215 | 240 | <classifier>${djl.platform.osx-aarch64}</classifier> |
216 | | - <version>2.5.1</version> |
| 241 | + <version>2.7.1</version> |
217 | 242 | <scope>runtime</scope> |
218 | 243 | </dependency> |
219 | 244 |
|
|
0 commit comments