maty4545
Results
1
issues of
maty4545
因为compute_output中输入的参数类型, 为python的list, 而tf.function对于python基础类型, 只支持相同值下的加速 `@tf.function def compute_output(self, image_data, image_shape):` tf.function对于TensorFlow 张量或 NumPy 数组, 支持相同类型下的加速, 故, 应修改为: ` def detect_image(self, img: typing.Union[Image.Image, str]) -> typing.List[ typing.Tuple[str, int, float, int, int, int,...