Skip to content
New issue

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

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

Already on GitHub? # to your account

Error #16

Open
Better-Boy opened this issue Apr 5, 2018 · 4 comments
Open

Error #16

Better-Boy opened this issue Apr 5, 2018 · 4 comments

Comments

@Better-Boy
Copy link

Traceback (most recent call last):
File "train_txt2im.py", line 453, in
main_train()
File "train_txt2im.py", line 61, in main_train
v = rnn_embed(t_real_caption, is_train=True, reuse=False).outputs
File "/home/abhilash/text-to-image/model.py", line 822, in rnn_embed
name = 'rnn/dynamic')
File "/home/abhilash/text-to-image/tensorlayer/layers.py", line 3928, in init
self.cell = cell_fn(num_units=n_hidden, **cell_init_args)
TypeError: init() got an unexpected keyword argument 'reuse'

I'm getting this error, don't know why? Please help

@zsdonghao
Copy link
Owner

please report you TF and TL version

@Better-Boy
Copy link
Author

>>> import tensorflow as tf
>>> tf.__version__
'1.1.0'
>>> import tensorlayer as tl
>>> tl.__version__
'1.4.3'

@Better-Boy
Copy link
Author

Error Resolved.

@richardcann
Copy link

What solved this issue? I am getting the same error running with same versions of tensorflow and tensorlayer

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

No branches or pull requests

3 participants