tf-image icon indicating copy to clipboard operation
tf-image copied to clipboard

dtype after upgrading to Python 3.11 and TF 2.12.1

Open lebence opened this issue 8 months ago • 0 comments

Yesterday I would like to try my code with Python 3.11 and TF 2.12.1. I'm using Python 3.8 and TF 2.10.1 as default, and there is everything OK.

But after upgrading I got this error:

File "/usr/local/lib/python3.11/dist-packages/tf_image/core/convert_type_decorator.py", line 15, in wrap  *
        bboxes_type = bboxes.dtype

AttributeError: 'float' object has no attribute 'dtype'

Does the repository work with Python 3.11 and TF 2.12.1? Do you know that?

lebence avatar Oct 17 '23 08:10 lebence