也许我错了,但我认为在Eclipse中可以写出像
这样的东西serving/bazel-bin/tensorflow_serving/example/inception_client --server=104.155.184.157:9000 --image=/path/to/my_cat_image.jpg
Traceback (most recent call last):
File "/home/pouyanj/serving/bazel-bin/tensorflow_serving/example/inception_client.runfiles/tf_serving/tensorflow_serving/example/inception_client.py", line 24, in <module>
import tensorflow as tf
File "/home/pouyanj/serving/bazel-bin/tensorflow_serving/example/inception_client.runfiles/org_tensorflow/tensorflow/__init__.py", line 24, in <module>
from tensorflow.python import *
File "/home/pouyanj/serving/bazel-bin/tensorflow_serving/example/inception_client.runfiles/org_tensorflow/tensorflow/python/__init__.py", line 36, in <module>
import _pywrap_tensorflow
ImportError: No module named _pywrap_tensorflow
在相同的标签。
有没有办法在IntelliJ中执行此操作?因为如果我在IntelliJ中执行此操作,它会告诉我&#34; B应该在名为&#39; B.java&#39;&#34;的文件中声明。