DenisTome / Lifting-from-the-Deep-release

Implementation of "Lifting from the Deep: Convolutional 3D Pose Estimation from a Single Image"
https://denistome.github.io/papers/lifting-from-the-deep
GNU General Public License v3.0
450 stars 133 forks source link

Tensorflow error #59

Open MritulaC opened 2 years ago

MritulaC commented 2 years ago

Hi, As Python 2 cannot be used with COLAB I am getting the following errors: Can someone please let e know how to overcome it? Thanks In advance!

WARNING:tensorflow:Entity <bound method Conv.call of <tensorflow.python.layers.convolutional.Conv2D object at 0x7efc3ff15a10>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux,export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method Conv.call of <tensorflow.python.layers.convolutional.Conv2D object at 0x7efc3ff15a10>>: AttributeError: module 'gast' has no attribute 'Str' WARNING:tensorflow:From /content/Lifting-from-the-Deep-release/packages/lifting/utils/cpm.py:167: The name tf.floordiv is deprecated. Please use tf.math.floordiv instead.

WARNING:tensorflow:From /content/Lifting-from-the-Deep-release/packages/lifting/utils/cpm.py:168: The name tf.mod is deprecated. Please use tf.math.mod instead.

2022-05-29 15:35:30.628677: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2022-05-29 15:35:30.632187: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2199995000 Hz 2022-05-29 15:35:30.632383: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x13a7340 executing computations on platform Host. Devices: 2022-05-29 15:35:30.632415: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): , 2022-05-29 15:35:30.865153: 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. WARNING:tensorflow:From /content/Lifting-from-the-Deep-release/packages/lifting/_pose_estimator.py:91: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.

WARNING:tensorflow:From /usr/local/lib/python3.7/dist-packages/tensorflow/python/training/saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version. Instructions for updating: Use standard file APIs to check for files with this prefix. tcmalloc: large alloc 1248370688 bytes == 0x43c54000 @ 0x7efc8da251e7 0x7efc68f9ac05 0x7efc69a6f8fe 0x7efc6be4ba20 0x7efc6c44eb00 0x7efc6c4500ce 0x7efc6c4c0ab1 0x7efc6c4c4276 0x7efc6c4c4c03 0x7efc65aa1136 0x7efc65a915c5 0x7efc65b3b3ae 0x7efc65b38228 0x7efc8c307a50 0x7efc8d3e96db 0x7efc8d72261f /content/Lifting-from-the-Deep-release/packages/lifting/utils/upright_fast.py:206: FutureWarning: rcond parameter will change to the default of machine precision times max(M, N) where M and N are the input matrix dimensions. To use the future default and silence this warning we advise to pass rcond=None, to keep using the old, explicitly pass rcond=-1. p_copy.T, res[j].T) <Figure size 640x480 with 1 Axes> <Figure size 640x480 with 1 Axes> <Figure size 640x480 with 1 Axes> <Figure size 640x480 with 1 Axes>`