-
Notifications
You must be signed in to change notification settings - Fork 149
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
Python 3.9 support #6
Comments
Hello @fgervais Also, make sure that you checked out this commit of tensorflow before building it! |
I want to report my progress as it seems I might have a working milestone. What I did is I went in there: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/tools/pip_package at current Then I commented out the python2 stuff as it doesn't seem to be packaged for newer debian version: diff --git a/tensorflow/lite/tools/pip_package/Dockerfile b/tensorflow/lite/tools/pip_package/Dockerfile
index 834fe5efca7..cc8c22acf89 100644
--- a/tensorflow/lite/tools/pip_package/Dockerfile
+++ b/tensorflow/lite/tools/pip_package/Dockerfile
@@ -10,15 +10,15 @@ RUN apt-get update && \
apt-get install -y \
debhelper \
dh-python \
- python-all \
- python-setuptools \
- python-wheel \
- python-numpy \
- python-pip \
+ # python-all \
+ # python-setuptools \
+ # python-wheel \
+ # python-numpy \
+ # python-pip \
pybind11-dev \
- libpython-dev \
- libpython-dev:armhf \
- libpython-dev:arm64 \
+ # libpython-dev \
+ # libpython-dev:armhf \
+ # libpython-dev:arm64 \
python3-all \
python3-setuptools \
python3-wheel \ Then I built using bullseye as base as it comes with python
For now it seems to work:
|
Nice!!!! |
I tested the package I built on an M.2 edgetpu module and it does inference fine. Should I close this issue or do we leave it open until official support for python 3.9?
|
@fgervais yes, please keep it open until we have an official package, thanks! |
@fgervais it helps build install tensorflow/lite with python 3.9 |
Humm I'm not sure, I haven't used pycoral for my inferences. |
We have |
I'd like to try and build tflite_runtime myself for python 3.9.
Any guidelines on how I would go about doing that?
The text was updated successfully, but these errors were encountered: