-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Tensor Flow not working in latest docker image HA version 0.113 (AMD64) #38073
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
Comments
Im having the same issue in my NUCi3 running Home Assistant(Hassio). |
Same issue, same errors. NUC using Docker. |
The current situation is this:
|
Thank you for the explanation. If testing needs to be done, I'd be glad to help. |
Assuming such a major jump in revision is a lot of work and might take days/weeks, it might be a good idea to flag this release as a majorly broken for those with tensorflow. |
The release notes have been updated: |
@pvizeli has built TensorFlow 2.2 for homeassistant wheels. I'm currently working on updating the integration. The upgrade will require some work on the user's end as well because the 1.x object detection models are not compatible with 2.x either. The new model zoo is here. Initial changes are made, but it's taking 6 minutes to load the saved model and it's a synchronous function. Will need to do some additional work to ensure it doesn't block startup. |
Is to use TF lite an option or use the REST API and we make an add-on like we did on the new ozw? |
@pvizeli - I don't see any official TF Lite 3.8 builds. Either way, TF Lite running in a separate docker container (addon) is basically what the DOODS integration does. I have TF2 working and have updated it to not block startup. Doing some cleanup then will raise a PR. |
Upgraded to 0.114, error persists - reopened my previous issue and updated details: |
I get the same error, running in docker. |
@Mark612 the issue is a change in the HA Docker file. If you are using Portainer like I am, you need to remove the container, and recreate it from CLI instead of having Portainer recreate it. Alternatively, change over to Docker-Compose. Once I spun it up without portainer it worked just fine. DeadEnd |
That worked! Using cli and recreating everything did the trick. Thank you for the tip. |
Uh oh!
There was an error while loading. Please reload this page.
The problem
It looks like the docker image is having trouble building tensowflow==1.13.2 for AMD64. HA Log is showing the following error:
Unable to install package tensorflow==1.13.2: ERROR: Could not find a version that satisfies the requirement tensorflow==1.13.2 (from versions: none) ERROR: No matching distribution found for tensorflow==1.13.2
Environment
HA Version Docker 0.113 (latest)
Intel i7-2600K CPU (AMD64)
Ubuntu 18.04.4 LTS
Bashing into the docker and running pip3 install tensorflow==1.13.2 generates the same error.
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
The text was updated successfully, but these errors were encountered: