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

About the question of "cannot be accessed from here". #6

Open
icecream-Tnak opened this issue Aug 25, 2022 · 1 comment
Open

About the question of "cannot be accessed from here". #6

icecream-Tnak opened this issue Aug 25, 2022 · 1 comment

Comments

@icecream-Tnak
Copy link

Thanks for your elegant algorithm! However, I meet the follow question when try to run your code

The tensor <tf.Tensor 'cheb_conv_with__att_gl/strided_slice_1:0' shape=() dtype=int32>
cannot be accessed from here, because it was defined in 
FuncGraph(name=cheb_conv_with__att_gl_scratch_graph, 
id=1850599452880),  which is out of scope.

Could you help me? Our version of Tensorflow is 2.x which different with the version your recommend. Is it because of different versions?

@NingXJ1999
Copy link
Collaborator

Tensorflow 1.x to 2.0 is a major update, and some functions are no longer compatible.
Please try to use the environment of Tensorflow 1.15 to run the code.

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