Traceback (most recent call last):


 "train.py", line 47, in <module>

import tensorflow as tf


 "C:\Users\Hp\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\__init__.py", line 99, in <module>

from tensorflow_core import *


 "C:\Users\Hp\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_core\__init__.py", line 32, in <module>

from tensorflow._api.v1 import app


 "C:\Users\Hp\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_core\_api\v1\app\__init__.py", line 10, in <module>

from tensorflow.python.platform.app import run


 "C:\Users\Hp\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_core\python\platform\app.py", line 23, in <module>

from absl.app import run as _run


 "C:\Users\Hp\Anaconda3\envs\tensorflow1\lib\site-packages\absl\app.py", line 26, in <module>

from object_detection import model_lib


 "C:\tensorflow1\models\research\object_detection\model_lib.py", line 27, in <module>

from object_detection import eval_util


 "C:\tensorflow1\models\research\object_detection\eval_util.py", line 31, in <module>

from object_detection.core import box_list_ops


 "C:\tensorflow1\models\research\object_detection\core\box_list_ops.py", line 34, in <module>

from object_detection.utils import ops


 "C:\tensorflow1\models\research\object_detection\utils\ops.py", line 317, in <module>

dtype=tf.float32):
AttributeError: module 'tensorflow' has no attribute 'float32'
Traceback (most recent call last):


 "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step

result = coro.throw(exc)


 "/srv/hass/lib/python3.5/site-packages/homeassistant/core.py", line 1023, in _event_to_service_call

yield from service_handler.func(service_call)


 "/srv/hass/lib/python3.5/site-packages/homeassistant/components/notify/__init__.py", line 136, in async_notify_message

yield from notify_service.async_send_message(**kwargs)


 "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup

future.result()


 "/usr/lib/python3.5/asyncio/futures.py", line 274, in result

raise self._exception


 "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/srv/hass/lib/python3.5/site-packages/homeassistant/components/notify/twitter.py", line 63, in send_message

media = data.get(ATTR_MEDIA)
AttributeError: 'NoneType' object has no attribute 'get'
