Using Tensorflow to detect objects - Solved

by: tclancy, 10 days ago

Last edited: 10 days ago

<Had wrong camera selected>

Trying to get sample working as shown but failing on feed_dict={image_tensor: image_np_expanded}). Code is as published with adjustments for directories etc. Error is as below, any clues greatly appreciated.

Traceback (most recent call last):
  File "", line 142, in <module>
    feed_dict={image_tensor: image_np_expanded})
  File "", line 895, in run
  File "", line 1093, in _run
    np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
  File "", line 531, in asarray
    return array(a, dtype, copy=False, order=order)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

You must be logged in to post. Please login or register an account.