|
toybrick@debian10:~/rknn-toolkit-v1.3.2/examples/common_function_demos/custom_op/ts$ python3 -m rknn.bin.custom_op --action build --op_path ./resize_area
W:tensorflow:From /home/toybrick/.local/lib/python3.7/site-packages/onnx_tf/handlers/backend/ceil.py:10: The name tf.ceil is deprecated. Please use tf.math.ceil instead.
W:tensorflow:From /home/toybrick/.local/lib/python3.7/site-packages/onnx_tf/handlers/backend/depth_to_space.py:12: The name tf.depth_to_space is deprecated. Please use tf.compat.v1.depth_to_space instead.
W:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
* https://github.com/tensorflow/co ... 7-contrib-sunset.md
* https://github.com/tensorflow/addons
* https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.
W:tensorflow:From /home/toybrick/.local/lib/python3.7/site-packages/onnx_tf/handlers/backend/log.py:10: The name tf.log is deprecated. Please use tf.math.log instead.
W:tensorflow:From /home/toybrick/.local/lib/python3.7/site-packages/onnx_tf/handlers/backend/random_normal.py:9: The name tf.random_normal is deprecated. Please use tf.random.normal instead.
W:tensorflow:From /home/toybrick/.local/lib/python3.7/site-packages/onnx_tf/handlers/backend/random_uniform.py:9: The name tf.random_uniform is deprecated. Please use tf.random.uniform instead.
W:tensorflow:From /home/toybrick/.local/lib/python3.7/site-packages/onnx_tf/handlers/backend/upsample.py:13: The name tf.image.resize_images is deprecated. Please use tf.image.resize instead.
/home/toybrick/.local/lib/python3.7/site-packages/onnx_tf/common/__init__.py:87: UserWarning: FrontendHandler.get_outputs_names is deprecated. It will be removed in future release.. Use node.outputs instead.
warnings.warn(message)
checking aarch64-linux-gnu
found /home/toybrick/.rknn/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
building library
if [ ! -d ./.out/x64 ]; then mkdir -p ./.out/x64; else echo "./.out/x64 exist"; fi
./.out/x64 exist
cc -fPIC -shared -I/home/toybrick/.local/lib/python3.7/site-packages/rknn/simulator/include -L/home/toybrick/.local/lib/python3.7/site-packages/rknn/simulator/lib/x64_linux -Wl,--no-as-needed -lOpenVX -o ./.out/x64/libresizearea.so rknn_kernel_resizearea.c
/usr/bin/ld: skipping incompatible /home/toybrick/.local/lib/python3.7/site-packages/rknn/simulator/lib/x64_linux/libOpenVX.so when searching for -lOpenVX
/usr/bin/ld: cannot find -lOpenVX
collect2: error: ld returned 1 exit status
make: *** [makefile.linux.x64:10: all] Error 1
build x64 library fail
|
|