You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I have followed the same procedure mentioned in your blog post, saved the code in a file named 'web_object_detection.py, but got the following error:
_[ WARN:0] global /tmp/pip-req-build-13uokl4r/opencv/modules/videoio/src/cap_v4l.cpp (890) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
2021-07-01 10:37:25.471802: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-07-01 10:37:25.472225: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-07-01 10:37:25.481073: I tensorflow/core/common_runtime/process_util.cc:146] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
Traceback (most recent call last):
File "web_object_detection.py", line 177, in
(boxes, scores, classes, num_detections) = sess.run(
File "/home/usama/anaconda3/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 967, in run
result = self._run(None, fetches, feed_dict, options_ptr,
File "/home/usama/anaconda3/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1160, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/home/usama/anaconda3/lib/python3.8/site-packages/numpy/core/asarray.py", line 102, 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'
The text was updated successfully, but these errors were encountered:
Hi! I have followed the same procedure mentioned in your blog post, saved the code in a file named 'web_object_detection.py, but got the following error:
_[ WARN:0] global /tmp/pip-req-build-13uokl4r/opencv/modules/videoio/src/cap_v4l.cpp (890) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
2021-07-01 10:37:25.471802: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-07-01 10:37:25.472225: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-07-01 10:37:25.481073: I tensorflow/core/common_runtime/process_util.cc:146] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
Traceback (most recent call last):
File "web_object_detection.py", line 177, in
(boxes, scores, classes, num_detections) = sess.run(
File "/home/usama/anaconda3/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 967, in run
result = self._run(None, fetches, feed_dict, options_ptr,
File "/home/usama/anaconda3/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1160, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/home/usama/anaconda3/lib/python3.8/site-packages/numpy/core/asarray.py", line 102, 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'
The text was updated successfully, but these errors were encountered: