Open hanfengatonline opened 4 weeks ago
Hi @hanfengatonline , it looks like you are still using TensorFlow 1.x and an older version of TF Java. This version is no longer supported, please take a look at the new version based on TensorFlow 2.x in this repo instead.
@karllessard ok,i will try to import TensorFlow 2.x instead of 1.x for my project
my test code with language scala ,this is one predict, we will predict 100 QPS for a docker
val config = ConfigProto.newBuilder .putDeviceCount("CPU", Runtime.getRuntime.availableProcessors) .setInterOpParallelismThreads(8) .setIntraOpParallelismThreads(8) .setOperationTimeoutInMs(3000) .build
val kernel = modelBundle.session