val-iisc / 3d-lmnet

Repository for 3D-LMNet: Latent Embedding Matching for Accurate and Diverse 3D Point Cloud Reconstruction from a Single Image [BMVC 2018]
https://val-iisc.github.io/3d-lmnet/
MIT License
113 stars 24 forks source link

run code #9

Open xiaofeifeifeifeifei opened 4 years ago

xiaofeifeifeifeifei commented 4 years ago

hello, when I run the bash scripts/train_plm.sh, there exit a question: Traceback (most recent call last): File "train_plm.py", line 168, in z_mean, z_log_sigma_sq = image_encoder(img_inp, FLAGS) File "/home/user05/.conda/envs/tf/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 442, in iter "Tensor objects are only iterable when eager execution is " TypeError: Tensor objects are only iterable when eager execution is enabled. To iterate over this tensor use tf.map_fn. could you tell me how to solve, thanks .

yxyyz commented 3 years ago

hello, when I run the bash scripts/train_plm.sh, there exit a question: Traceback (most recent call last): File "train_plm.py", line 168, in z_mean, z_log_sigma_sq = image_encoder(img_inp, FLAGS) File "/home/user05/.conda/envs/tf/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 442, in iter "Tensor objects are only iterable when eager execution is " TypeError: Tensor objects are only iterable when eager execution is enabled. To iterate over this tensor use tf.map_fn. could you tell me how to solve, thanks .

hello, did u find the solution

xiaofeifeifeifeifei commented 3 years ago

I meet the same problem ,i think there is a problem with the source code 

------------------ 原始邮件 ------------------ 发件人: "val-iisc/3d-lmnet" <notifications@github.com>; 发送时间: 2020年12月10日(星期四) 下午3:33 收件人: "val-iisc/3d-lmnet"<3d-lmnet@noreply.github.com>; 抄送: "高辉"<1799305203@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [val-iisc/3d-lmnet] run code (#9)

hello, when I run the bash scripts/train_plm.sh, there exit a question: Traceback (most recent call last): File "train_plm.py", line 168, in z_mean, z_log_sigma_sq = image_encoder(img_inp, FLAGS) File "/home/user05/.conda/envs/tf/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 442, in iter "Tensor objects are only iterable when eager execution is " TypeError: Tensor objects are only iterable when eager execution is enabled. To iterate over this tensor use tf.map_fn. could you tell me how to solve, thanks .

hello, did u find the solution

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.