intel-analytics / analytics-zoo

Distributed Tensorflow, Keras and PyTorch on Apache Spark/Flink & Ray
https://analytics-zoo.readthedocs.io/
Apache License 2.0
18 stars 4 forks source link

[bigdl-2.0] orca scala UT errors #29

Open Le-Zheng opened 3 years ago

Le-Zheng commented 3 years ago

run mvn "-DwildcardSuites=com.intel.analytics.bigdl.orca.inference" test -P spark_2.x -Ddata-store-url=http://10.239.45.10:8081/repository/raw -U && \ error stack:

[ INFO ] InferenceEngine: 0x7f732da67030
Loading plugin
[ INFO ] Loading network files:
    /tmp/ZooOpenVINOTempModel6896683039125906045/OpenVINOfdab961a-8769-4e6d-82ae-9a04d44349ec.xml
    /tmp/ZooOpenVINOTempModel6896683039125906045/OpenVINOfdab961a-8769-4e6d-82ae-9a04d44349ec.bin
[ INFO ] Network batch size is 4
[ INFO ] Input Layout NCHW
[ INFO ] Input Precision U8
[ INFO ] Loading model to the device
*** RUN ABORTED ***
  java.lang.UnsatisfiedLinkError: com.intel.analytics.bigdl.orca.inference.OpenVinoInferenceSupportive.predictInt8(J[F[I)Ljava/util/List;
  at com.intel.analytics.bigdl.orca.inference.OpenVinoInferenceSupportive.predictInt8(Native Method)
  at com.intel.analytics.bigdl.orca.inference.OpenVINOModel$$anonfun$predict$1.apply(OpenVINOModel.scala:88)
  at com.intel.analytics.bigdl.orca.inference.OpenVINOModel$$anonfun$predict$1.apply(OpenVINOModel.scala:85)
  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
  at scala.collection.Iterator$class.foreach(Iterator.scala:893)
  at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
  at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
  at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
  at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)

http://10.112.231.51:18888/job/ZOO-PR-BigDL-Orca-Scala-Spark-2.4/16/console