I am running my python script on nano using tf-trt. Normally, I start the script 10 times only one/two time there is no problem. Most of times I got following error.
python3: cask/shaderlist_impl.h:50: void cask::ShaderList<ShaderType, OperationType>::sortHandles() const [with ShaderType = cask::ConvolutionShader; OperationType = cask::Convolution]: Assertion ((*i)->handle != (*prevI)->handle) && "Internal error: CASK: all shaders must have unique names"' failed. python3: cask/shaderlist_impl.h:50: void cask::ShaderList<ShaderType, OperationType>::sortHandles() const [with ShaderType = cask::ConvolutionShader; OperationType = cask::Convolution]: Assertion
((*i)->handle != (*prevI)->handle) && “Internal error: CASK: all shaders must have unique names”’ failed.
Aborted (core dumped)
Or:
*** Received signal 11 ***
*** BEGIN MANGLED STACK TRACE ***
python3: cask/shaderlist_impl.h:50: void cask::ShaderList<ShaderType, OperationType>::sortHandles() const [with ShaderType = cask::ConvolutionShader; OperationType = cask::Convolution]: Assertion `((*i)->handle != (*prevI)->handle) && “Internal error: CASK: all shaders must have unique names”’ failed.
*** Received signal 6 ***
*** BEGIN MANGLED STACK TRACE ***
/usr/local/lib/python3.6/dist-packages/tensorflow/python/…/libtensorflow_framework.so(+0x72e368)[0x7f7005a368]
*** END MANGLED STACK TRACE ***
/usr/local/lib/python3.6/dist-packages/tensorflow/python/…/libtensorflow_framework.so(+0x72e368)[0x7f7005a368]
*** END MANGLED STACK TRACE ***
*** Begin stack trace ***
tensorflow::CurrentStackTraceabi:cxx11
*** End stack trace ***
Aborted (core dumped)
My environment is :
- NVIDIA Jetson NANO
- Jetpack: 4.2 [L4T 32.1.0]
- CUDA: 10.0.166
- cuDNN: 10.0.166
- CUDA: 7.3.1.28-1+cuda10.0
- TensorRT: 5.0.6.3-1+cuda10.0
- Tensorflow: 1.13.1
There are no errors with creating the tf-trt graph on nano. The error occurs when calling sess.run().
How can I solve this? Thank you.