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

'Tensor' object has no attribute 'T' #2

Open
yuchenzhang789 opened this issue Sep 30, 2020 · 1 comment
Open

'Tensor' object has no attribute 'T' #2

yuchenzhang789 opened this issue Sep 30, 2020 · 1 comment

Comments

@yuchenzhang789
Copy link

Hi, as I'm trying to run the code, it shows me this message "'Tensor' object has no attribute 'T'" on line 19 file objectives_mcca.py. This is the method call for y_pred, which is a tensor object (<class 'tensorflow.python.framework.ops.Tensor'>), and the corresponding code is "y_pred.T". Do you mean the transpose of y_pred or something else?

@Asmaasa3d
Copy link

Did you solve this problem?

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