Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get the latest version of tflite-support #983

Open
homarox opened this issue Aug 2, 2024 · 0 comments
Open

Can not get the latest version of tflite-support #983

homarox opened this issue Aug 2, 2024 · 0 comments

Comments

@homarox
Copy link

homarox commented Aug 2, 2024

Hi,

How can I get the latest of tflite-support?

PS C:\_WorkSpace\_P\pet_classify_book> pip install tflite-support==0.4.4
ERROR: Could not find a version that satisfies the requirement tflite-support==0.4.4 (from versions: 0.1.0a0.dev3, 0.1.0a0.dev4, 0.1.0a0.dev5, 0.1.0a0, 0.1.0a1)
ERROR: No matching distribution found for tflite-support==0.4.4

PS C:\_WorkSpace\_P\pet_classify_book> py --version Python 3.11.0

If I use the version 3.9, it's get some error.

Error processing line 1 of C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\site-packages\protobuf-3.20.3-py3.9-nspkg.pth:

  Traceback (most recent call last):
    File "C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\site.py", line 169, in addpackage
      exec(line)
    File "<string>", line 1, in <module>
    File "C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\importlib\util.py", line 2, in <module>
      from . import abc
    File "C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\importlib\abc.py", line 17, in <module>
      from typing import Protocol, runtime_checkable
    File "C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\typing.py", line 2074, in <module>
      class BinaryIO(IO[bytes]):
    File "C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\typing.py", line 2080, in BinaryIO
      def write(self, s: Union[bytes, bytearray]) -> int:
    File "C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\typing.py", line 243, in inner
      return func(*args, **kwds)
    File "C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\typing.py", line 316, in __getitem__
      return self._getitem(self, parameters)
    File "C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\typing.py", line 421, in Union
      parameters = _remove_dups_flatten(parameters)
    File "C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\typing.py", line 215, in _remove_dups_flatten
      all_params = set(tuple(param) for param in params)
    File "C:\Users\thle1\AppData\Local\Programs\Python\Python39\lib\typing.py", line 215, in <genexpr>
      all_params = set(tuple(param) for param in params)
  TypeError: 'type' object is not iterable

I want to use the API image_classifier & writer_utils
from tflite_support.metadata_writers import image_classifier, writer_utils

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant