tensorrt icon indicating copy to clipboard operation
tensorrt copied to clipboard

Error converting multilingual universal sentence encoder to TensorRT. Input 1 of node StatefulPartitionedCall was passed float from statefulpartitionedcall_args_1:0 incompatible with expected resource.

Open sebastinajay opened this issue 5 years ago • 1 comments

I'm getting below error while converting multilingual universal sentence encoder(https://tfhub.dev/google/universal-sentence-encoder-multilingual/3) to TensorRT using TrtGraphConverterV2

InvalidArgumentError: Input 1 of node StatefulPartitionedCall was passed float from statefulpartitionedcall_args_1:0 incompatible with expected resource.

Below is the Colab link : https://colab.research.google.com/drive/1g8jHUMdpMgAQPv_kG3YJhP12SmSdHW-H?usp=sharing

Python Version: 3.6.9 TensorFlow Version: 2.3.0

sebastinajay avatar Nov 17 '20 13:11 sebastinajay

I'm getting a similar issue.

lminer avatar Dec 11 '20 20:12 lminer