3d-lmnet icon indicating copy to clipboard operation
3d-lmnet copied to clipboard

run code

Open xiaofeifeifeifeifei opened this issue 4 years ago • 2 comments

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 .

xiaofeifeifeifeifei avatar Sep 28 '20 06:09 xiaofeifeifeifeifei

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

yxyyz avatar Dec 10 '20 07:12 yxyyz

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

------------------ 原始邮件 ------------------ 发件人: "val-iisc/3d-lmnet" <[email protected]>; 发送时间: 2020年12月10日(星期四) 下午3:33 收件人: "val-iisc/3d-lmnet"<[email protected]>; 抄送: "高辉"<[email protected]>;"Author"<[email protected]>; 主题: 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.

xiaofeifeifeifeifei avatar Dec 10 '20 09:12 xiaofeifeifeifeifei