Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/imageai/Detection/__init__.py", line 347, in detectObjectsFromImage

_, _, detections = model.predict_on_batch(np.expand_dims(image, axis=0))


 "/usr/local/lib/python3.6/dist-packages/keras/engine/training.py", line 1273, in predict_on_batch

self._make_predict_function()


 "/usr/local/lib/python3.6/dist-packages/keras/engine/training.py", line 554, in _make_predict_function

**kwargs)


 "/usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py", line 2744, in function

return Function(inputs, outputs, updates=updates, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py", line 2546, in __init__

with tf.control_dependencies(self.outputs):


 "/home/daniel/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 5426, in control_dependencies

return get_default_graph().control_dependencies(control_inputs)


 "/home/daniel/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 4867, in control_dependencies

c = self.as_graph_element(c)


 "/home/daniel/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3796, in as_graph_element

return self._as_graph_element_locked(obj, allow_tensor, allow_operation)


 "/home/daniel/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3875, in _as_graph_element_locked

raise ValueError("Tensor %s is not an element of this graph." % obj)
ValueError: Tensor Tensor("regression_1/concat:0", shape=(?, ?, 4), dtype=float32) is not an element of this graph.

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pandas\core\frame.py", line 422, in __init__

raise ValueError('DataFrame constructor not properly called!')
ValueError: DataFrame constructor not properly called!
