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

ptychography tutorial running wrong #4

Open
CGao-STEM opened this issue Oct 29, 2021 · 1 comment
Open

ptychography tutorial running wrong #4

CGao-STEM opened this issue Oct 29, 2021 · 1 comment

Comments

@CGao-STEM
Copy link

Dear Saugatkandel

First, thank you for providing the tensorflow tutorial for the new leaners. I met a problem when I ran the ptychography.ipynb file.
It shows as below
image
I am researching ptychography as my PhD project but new to tensorflow. May I ask how to solve this problem?

Kind regards
Chuang

@saugatkandel
Copy link
Owner

Hi Chuang,
Apologies for the late response---I just saw this issue.

I think you are using Tensorflow 2.x (which uses gradient tapes), whereas the code in this repo uses Tensorflow 1.x. You could try using it with Tensorflow 1.x.

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