https://github.com/robmarkcole/tensorflow_files_for_home_assistant_component
All the files you need for the Home-Assistant tensorflow component
https://github.com/robmarkcole/tensorflow_files_for_home_assistant_component
home-assistant tensorflow
Last synced: about 1 year ago
JSON representation
All the files you need for the Home-Assistant tensorflow component
- Host: GitHub
- URL: https://github.com/robmarkcole/tensorflow_files_for_home_assistant_component
- Owner: robmarkcole
- License: mit
- Created: 2018-11-12T19:39:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-05T08:27:28.000Z (almost 7 years ago)
- Last Synced: 2025-04-30T15:34:04.990Z (about 1 year ago)
- Topics: home-assistant, tensorflow
- Language: Python
- Size: 249 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tensorflow_files_for_github
All the files you need for the Home-Assistant [tensorflow component](https://www.home-assistant.io/components/image_processing.tensorflow/).
Just `git clone` this repo, then copy the `tensorflow` folder into your configuration directory.
FYI utils has the function that maps the integers returned by the model to the actual category, data has the actual mappings, and proto is how tensorflow object detection tensor gets the data.
## Hassbian advice
To install tensorflow, you need to have permissions of the `homeassistant` user and activate the python venv that HA uses.
* Set user -> `sudo -u homeassistant -H -s`
* Activate venv -> `cd /srv/homeassistant/` then `source bin/activate`
* `pip3 install tensorflow==1.13.2`