Tensorflow causing restart loop?

The error I posted is only if I remove the directory. When the directory is there, HA doesn’t start.

And yes /config/tensorflow/ssd_mobilenet_v2_coco_2018_03_29/frozen_inference_graph.pb exists

Have you looked in the docker container logs? Might need portainer to do this

Yes, that’s where I can see that startup is looping.

LOGS:

> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded gpslogger from homeassistant.components.gpslogger,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded tts from homeassistant.components.tts,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded api from homeassistant.components.api,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded auth from homeassistant.components.auth,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding,
> 2019-04-05 14:37:55 INFO (MainThread) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded script from homeassistant.components.script,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded group from homeassistant.components.group,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded zone from homeassistant.components.zone,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded telegram_bot from homeassistant.components.telegram_bot,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded yeelight from homeassistant.components.yeelight,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded stream from homeassistant.components.stream,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded utility_meter from homeassistant.components.utility_meter,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded image_processing from homeassistant.components.image_processing,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded camera from homeassistant.components.camera,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded input_select from homeassistant.components.input_select,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded influxdb from homeassistant.components.influxdb,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded updater from homeassistant.components.updater,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded folder_watcher from homeassistant.components.folder_watcher,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded weather from homeassistant.components.weather,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded conversation from homeassistant.components.conversation,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded input_boolean from homeassistant.components.input_boolean,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded input_text from homeassistant.components.input_text,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded notify from homeassistant.components.notify,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded sabnzbd from homeassistant.components.sabnzbd,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded climate from homeassistant.components.climate,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded mqtt from homeassistant.components.mqtt,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded automation from homeassistant.components.automation,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded config from homeassistant.components.config,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded hass_opensprinkler from custom_components.hass_opensprinkler,
> 04-05 14:37:56 WARNING (MainThread) [homeassistant.loader] You are using a custom component for hass_opensprinkler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded map from homeassistant.components.map,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded alarm_control_panel from homeassistant.components.alarm_control_panel,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded switch from homeassistant.components.switch,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded light from homeassistant.components.light,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded logger from homeassistant.components.logger,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded alert from homeassistant.components.alert,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded cast from homeassistant.components.cast,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized,
> 2019-04-05 14:37:56 INFO (MainThread) [homeassistant.setup] Setting up logger,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded notify from homeassistant.components.notify,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded weather from homeassistant.components.weather,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded switch from homeassistant.components.switch,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded group from homeassistant.components.group,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded telegram_bot from homeassistant.components.telegram_bot,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded utility_meter from homeassistant.components.utility_meter,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded conversation from homeassistant.components.conversation,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded zone from homeassistant.components.zone,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded alarm_control_panel from homeassistant.components.alarm_control_panel,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded sabnzbd from homeassistant.components.sabnzbd,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded yeelight from homeassistant.components.yeelight,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded map from homeassistant.components.map,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded api from homeassistant.components.api,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded auth from homeassistant.components.auth,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded updater from homeassistant.components.updater,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded alert from homeassistant.components.alert,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded image_processing from homeassistant.components.image_processing,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded camera from homeassistant.components.camera,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded input_text from homeassistant.components.input_text,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded automation from homeassistant.components.automation,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded tts from homeassistant.components.tts,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded gpslogger from homeassistant.components.gpslogger,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded logger from homeassistant.components.logger,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded folder_watcher from homeassistant.components.folder_watcher,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded hass_opensprinkler from custom_components.hass_opensprinkler,
> 04-05 14:38:02 WARNING (MainThread) [homeassistant.loader] You are using a custom component for hass_opensprinkler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded config from homeassistant.components.config,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded cast from homeassistant.components.cast,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded script from homeassistant.components.script,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded light from homeassistant.components.light,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded input_select from homeassistant.components.input_select,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded climate from homeassistant.components.climate,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded mqtt from homeassistant.components.mqtt,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded stream from homeassistant.components.stream,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded input_boolean from homeassistant.components.input_boolean,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded influxdb from homeassistant.components.influxdb,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized,
> 2019-04-05 14:38:02 INFO (MainThread) [homeassistant.setup] Setting up logger,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded tts from homeassistant.components.tts,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded logger from homeassistant.components.logger,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded gpslogger from homeassistant.components.gpslogger,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded notify from homeassistant.components.notify,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded light from homeassistant.components.light,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded group from homeassistant.components.group,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded script from homeassistant.components.script,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded input_text from homeassistant.components.input_text,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded alert from homeassistant.components.alert,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded hass_opensprinkler from custom_components.hass_opensprinkler,
> 04-05 14:38:09 WARNING (MainThread) [homeassistant.loader] You are using a custom component for hass_opensprinkler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded influxdb from homeassistant.components.influxdb,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded camera from homeassistant.components.camera,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded utility_meter from homeassistant.components.utility_meter,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded folder_watcher from homeassistant.components.folder_watcher,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded map from homeassistant.components.map,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded input_select from homeassistant.components.input_select,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded sabnzbd from homeassistant.components.sabnzbd,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded conversation from homeassistant.components.conversation,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded telegram_bot from homeassistant.components.telegram_bot,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded zone from homeassistant.components.zone,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded weather from homeassistant.components.weather,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded mqtt from homeassistant.components.mqtt,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded api from homeassistant.components.api,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api,
> 2019-04-05 14:38:09 INFO (MainThread) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded auth from homeassistant.components.auth,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded climate from homeassistant.components.climate,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded cast from homeassistant.components.cast,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded config from homeassistant.components.config,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded input_boolean from homeassistant.components.input_boolean,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded switch from homeassistant.components.switch,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded alarm_control_panel from homeassistant.components.alarm_control_panel,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded yeelight from homeassistant.components.yeelight,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded stream from homeassistant.components.stream,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded automation from homeassistant.components.automation,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded updater from homeassistant.components.updater,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded image_processing from homeassistant.components.image_processing,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized,
> 2019-04-05 14:38:10 INFO (MainThread) [homeassistant.setup] Setting up logger,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded weather from homeassistant.components.weather,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded logger from homeassistant.components.logger,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded api from homeassistant.components.api,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded auth from homeassistant.components.auth,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded folder_watcher from homeassistant.components.folder_watcher,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded updater from homeassistant.components.updater,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded mqtt from homeassistant.components.mqtt,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded script from homeassistant.components.script,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded group from homeassistant.components.group,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded input_boolean from homeassistant.components.input_boolean,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded zone from homeassistant.components.zone,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded map from homeassistant.components.map,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded telegram_bot from homeassistant.components.telegram_bot,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded tts from homeassistant.components.tts,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded camera from homeassistant.components.camera,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded gpslogger from homeassistant.components.gpslogger,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded utility_meter from homeassistant.components.utility_meter,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded alarm_control_panel from homeassistant.components.alarm_control_panel,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded config from homeassistant.components.config,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded yeelight from homeassistant.components.yeelight,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded notify from homeassistant.components.notify,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded stream from homeassistant.components.stream,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded climate from homeassistant.components.climate,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded input_text from homeassistant.components.input_text,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded switch from homeassistant.components.switch,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded image_processing from homeassistant.components.image_processing,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded influxdb from homeassistant.components.influxdb,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded light from homeassistant.components.light,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded alert from homeassistant.components.alert,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded cast from homeassistant.components.cast,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded conversation from homeassistant.components.conversation,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded hass_opensprinkler from custom_components.hass_opensprinkler,
> 04-05 14:38:17 WARNING (MainThread) [homeassistant.loader] You are using a custom component for hass_opensprinkler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded sabnzbd from homeassistant.components.sabnzbd,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded automation from homeassistant.components.automation,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.loader] Loaded input_select from homeassistant.components.input_select,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized,
> 2019-04-05 14:38:17 INFO (MainThread) [homeassistant.setup] Setting up logger,

somethings crashing and you’re not seeing it in the logs. do you have debug turned on in logs?

also, for what it’s worth, that installation guide is for non-docker. You’ll probably need to install tensorflow into your docker image that HA runs off of.

I had debug turned on - but can’t spot anything unusual in the logs.

Also tried installing it as per: Tensorflow and official docker image - CPU instruction issue

But - ended up with the same problem.

Sorry, I can’t help here. I used a special installer for tensor flow to add it to a hassio image. I did not set that up. But what you need to do is somehow add tensorflow’s libraries into your home assistant docker image.

@hunterjm Would you know where to start with installing these libraries into his docker image?

Trying to install tensorflow 2.0 - see what it does.

Weird that there’s nothing in the debug log.

Yeah but are you installing it into your Image or into the docker container? If you do the latter, it will be wiped out on next container restart.

In the actual container - my understanding is it’ll only be wiped out with an upgrade… doesn’t work anyway - same boot loop.

(confirmed - when I restart home-assistant, tensorflow 2.0 is still in the container)

Run the following command in your container and look for ANY output…If no output your container/cpu isn’t seeing the AVX instruction set (TF hardware requirement)
grep -i avx /proc/cpuinfo

Nothing returned, however, I recompiled tensflow as per the instructions I found in this thread

Still end up with a boot loop?

Would there not be some sort of error though?

It actually starts up now with the compiled version of the above.

However, I have the following errors
> Error while setting up platform tensorflow
> Traceback (most recent call last):
> File “/usr/src/app/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
> SLOW_SETUP_MAX_WAIT, loop=hass.loop)
> File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, in wait_for
> return fut.result()
> File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
> result = self.fn(*self.args, **self.kwargs)
> File “/usr/src/app/homeassistant/components/tensorflow/image_processing.py”, line 116, in setup_platform
> detection_graph = tf.Graph()
> AttributeError: module ‘tensorflow’ has no attribute ‘Graph’

Wait - it compiled with the python.7… let me try AGAIN… long wait ahead of me

I had a silent error where my HA instance wouldn’t start after attempting to load tensorflow (I’m running as a VM using KVM/libvirt). After some troubleshooting/googling I found the bit about TF requiring CPU that has AVX capabilities. After I enabled full passthrough of my host CPU instructions HA booted with no issues and TF happily works.

My understanding of that is that the precompiled tensor flow requires the avx instruction set - if you compile it yourself, you can do without.

(and I’m still struggling with compiling it myself - going to ask if someone can upload what they compiled in the other thread)

For what little it’s worth, I’m seeing exactly the same thing.

I’m running the Docker container for HomeAssistant 0.91.3, and I also followed the previously linked script.

If I have my image_processing config block in, the container just constantly boot loops. The docker logs don’t show anything that jumps out as obviously related.

I’ve tried using different cameras (switching between ffmpeg and mjpeg), different Tensorflow model and I’ve recompiled the models with protoc twice just to be sure. Without fail, I get a boot loop until I remove the image_processing block.

My host machine has AMD Turion II which I thought supported AVX but I’ll try compiling Tensorflow myself too.

I know there is not much new info in this post but just wanted @xrapidx to know you’re not alone!

1 Like

@Insanitum @xrapidx Im having this exact issue, did you ever figure it out? Its driving me nuts!!

@mkono87 Sadly not yet- I tried a few times but kept having different issues with missing libraries and multiple compilation failures. I’ve shelved it for now as it was just taking so much time and I already had doubts that my CPU would be able to handle it. I’ve spent so long on it that I’m contemplating moving to a NUC just to get around this issue!

Pretty much the same status as @Insanitum - spent quite a bit of time trying different methods, but none seem to work for different reasons.