tensorflow / tensorflow/tflite-support
Can not get the latest version of tflite-support
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 441
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported Python 3.11 and 3.9 installation commands and inspect the published package metadata and release documentation for tflite-support. Check whether the metadata_writers.image_classifier and writer_utils entry points are available in a supported release; done means the supported installation path and API availability are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100