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
Using TensorFlow 1.4, OpenCV 4.1 and Python 3.6.8 I executed:
python3 estimate_head_pose.py
And I got the following error:
OpenCV version: 4.1.0
Linux is fine! Python multiprocessing works.
WARNING: Logging before flag parsing goes to stderr.
W0724 14:13:06.219129 139818702903104 deprecation_wrapper.py:119] From /home/omar/Documents/head-pose-estimation/mark_detector.py:78: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.
W0724 14:13:06.219383 139818702903104 deprecation_wrapper.py:119] From /home/omar/Documents/head-pose-estimation/mark_detector.py:79: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
W0724 14:13:06.366628 139818702903104 deprecation_wrapper.py:119] From /home/omar/Documents/head-pose-estimation/mark_detector.py:84: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
2019-07-24 14:13:06.367032: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-07-24 14:13:06.387688: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2400000000 Hz
2019-07-24 14:13:06.387975: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x56f77e0 executing computations on platform Host. Devices:
2019-07-24 14:13:06.387997: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): ,
2019-07-24 14:13:08.168135: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
Traceback (most recent call last):
File "estimate_head_pose.py", line 143, in
main()
File "estimate_head_pose.py", line 102, in main
print(tm.getTimeSec()/tm.count())
AttributeError: 'cv2.TickMeter' object has no attribute 'count'
The text was updated successfully, but these errors were encountered:
Using TensorFlow 1.4, OpenCV 4.1 and Python 3.6.8 I executed:
python3 estimate_head_pose.py
And I got the following error:
OpenCV version: 4.1.0
Linux is fine! Python multiprocessing works.
WARNING: Logging before flag parsing goes to stderr.
W0724 14:13:06.219129 139818702903104 deprecation_wrapper.py:119] From /home/omar/Documents/head-pose-estimation/mark_detector.py:78: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.
W0724 14:13:06.219383 139818702903104 deprecation_wrapper.py:119] From /home/omar/Documents/head-pose-estimation/mark_detector.py:79: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
W0724 14:13:06.366628 139818702903104 deprecation_wrapper.py:119] From /home/omar/Documents/head-pose-estimation/mark_detector.py:84: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
2019-07-24 14:13:06.367032: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-07-24 14:13:06.387688: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2400000000 Hz
2019-07-24 14:13:06.387975: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x56f77e0 executing computations on platform Host. Devices:
2019-07-24 14:13:06.387997: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): ,
2019-07-24 14:13:08.168135: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
Traceback (most recent call last):
File "estimate_head_pose.py", line 143, in
main()
File "estimate_head_pose.py", line 102, in main
print(tm.getTimeSec()/tm.count())
AttributeError: 'cv2.TickMeter' object has no attribute 'count'
The text was updated successfully, but these errors were encountered: