Hi,
I installed the Dataflow Compiler version 3.28 with TensorFlow2.4 and Pyton 3.9.
When I doing the example with following common:
runner = ClientRunner(hw_arch=chosen_hw_arch)
hn, npz = runner.translate_onnx_model(
onnx_path,
onnx_model_name,
start_node_names=[“input.1”],
end_node_names=[“191”],
net_input_shapes={“input.1”: [1, 3, 224, 224]},
)
It got Erro as follows:
NotFoundError Traceback (most recent call last)
Cell In[4], line 1
----> 1 runner = ClientRunner(hw_arch=chosen_hw_arch)
2 hn, npz = runner.translate_onnx_model(
3 onnx_path,
4 onnx_model_name,
(…)
7 net_input_shapes={“input.1”: [1, 3, 224, 224]},
8 )
File ~/anaconda3/envs/TensorFlow2.4/lib/python3.9/site-packages/hailo_sdk_client/runner/client_runner.py:130, in ClientRunner.init(self, hn, hw_arch, har)
127 self._sdk_backend = None
129 # Waiting for params
→ 130 HSimWrapper().load()
131 self._cached_model = None
132 self._sub_models = None
File ~/anaconda3/envs/TensorFlow2.4/lib/python3.9/site-packages/hailo_sdk_common/paths_manager/SimWrapper.py:15, in HSimWrapper.load(self)
13 def load(self):
14 if self._hsim is None:
—> 15 self._load()
File ~/anaconda3/envs/TensorFlow2.4/lib/python3.9/site-packages/hailo_sdk_common/paths_manager/SimWrapper.py:19, in HSimWrapper._load(self)
17 def _load(self):
18 hsim_path = SDKPaths().join_sdk_client(“emulator/emulator/lib/HSim.so”)
—> 19 self._hsim = tf.load_op_library(hsim_path)
File ~/anaconda3/envs/TensorFlow2.4/lib/python3.9/site-packages/tensorflow/python/framework/load_library.py:54, in load_op_library(library_filename)
31 @tf_export(‘load_op_library’)
32 def load_op_library(library_filename):
33 “”“Loads a TensorFlow plugin, containing custom ops and kernels.
34
35 Pass “library_filename” to a platform-specific mechanism for dynamically
(…)
52 RuntimeError: when unable to load the library or get the python wrappers.
53 “””
—> 54 lib_handle = py_tf.TF_LoadLibrary(library_filename)
55 try:
56 wrappers = _pywrap_python_op_gen.GetPythonWrappers(
57 py_tf.TF_GetOpList(lib_handle))
NotFoundError: /home/brad/anaconda3/envs/TensorFlow2.4/lib/python3.9/site-packages/hailo_sdk_client/emulator/emulator/lib/HSim.so: undefined symbol: cudaPeekAtLastError
Is any body can give me any suggestion?