Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object_detection_image #50

Open
kriz232121 opened this issue Dec 12, 2019 · 0 comments
Open

Object_detection_image #50

kriz232121 opened this issue Dec 12, 2019 · 0 comments

Comments

@kriz232121
Copy link

i use tensorflow 1.14 with version of cuda and cnn 10 in virtual enviroment with anaconda and follow the steps on https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10
i train the model but when i want to validate with image i have the issues

Traceback (most recent call last):
File "C:\Users\Tensorflow\models\research\object_detection\Object_detection_image.py", line 96, in
(boxes, scores, classes, num) = sess.run([detection_boxes, detection_scores, detection_classes, num_detections],feed_dict={image_tensor: image_expanded})
File "D:\Users\Cristian\Miniconda3\envs\tf14\lib\site-packages\tensorflow\python\client\session.py", line 950, in run
run_metadata_ptr)
File "D:\Users\Cristian\Miniconda3\envs\tf14\lib\site-packages\tensorflow\python\client\session.py", line 1142, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "D:\Users\Cristian\Miniconda3\envs\tf14\lib\site-packages\numpy\core\numeric.py", line 538, 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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant