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

TypeError: Layer sequential_1_input does not support masking, but was passed an input_mask: Tensor("concatenate_1/All:0", shape=(?, 78), dtype=bool) #4

Open
ConnieTong opened this issue Oct 21, 2019 · 7 comments

Comments

@ConnieTong
Copy link

Hi,
I am interested in your work. I run your code, but I encountered the error which is "TypeError: Layer sequential_1_input does not support masking, but was passed an input_mask: Tensor("concatenate_1/All:0", shape=(?, 78), dtype=bool)
" when building AE model.
My tensorflow version is 1.10.0
Anyone can help me ? Thanks so much !
Bests,
Connie Tong

@ConnieTong
Copy link
Author

In model.py, line 230, I met the problem.
if args.aspect_layers > 0:
aspect_output = aspect_cnn(aspect_output)

@ruidan
Copy link
Owner

ruidan commented Oct 22, 2019

You can check the dependency section in README for package versions.

@ConnieTong
Copy link
Author

Thanks. Fixed it.

@dongyang12138
Copy link

Thanks. Fixed it.

请问您最终使用的tensorflow版本是什么,我改成python3代码后没有找到tensorflow1.4.1版本
What is the version of tensorflow you finally used, I did not find the version of tensorflow 1.4.1 after I changed the code to python3

@ruidan
Copy link
Owner

ruidan commented Jul 30, 2020

@dongyang12138 目前代码只在python2的环境测试过, 直接换成python3可能有些问题。

@dongyang12138
Copy link

dongyang12138 commented Jul 31, 2020 via email

@dongyang12138
Copy link

dongyang12138 commented Jul 31, 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

3 participants