你可以使用我们的快照回购: http://deeplearning4j.org/snapshots
<repositories> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> <!-- Optional, update daily --> </snapshots> </repository> </repositories>
只需使用sonatype oss repo,你会没事的。
为了将来证明这个答案,你不需要99%的时间从源代码构建。如果要从源代码构建,则应该与维护者仔细检查。我们可以帮助您找出正确的方法,或者您是否需要。
在使用快照时,请注意,您不能像我们通常推荐的稳定版本一样使用-platform依赖项。
您必须使用分类器来正确选择您的操作系统,并在没有分类器的情况下指定nd4j依赖项(这是由于本机依赖项)