Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run code #9

Open
xiaofeifeifeifeifei opened this issue Sep 28, 2020 · 2 comments
Open

run code #9

xiaofeifeifeifeifei opened this issue Sep 28, 2020 · 2 comments

Comments

@xiaofeifeifeifeifei
Copy link

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
Copy link

yxyyz commented Dec 10, 2020

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
Copy link
Author

xiaofeifeifeifeifei commented Dec 10, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants