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

Would't run on tensorflow 1.6.0 #48

Open
WindowsNT opened this issue Feb 13, 2021 · 6 comments
Open

Would't run on tensorflow 1.6.0 #48

WindowsNT opened this issue Feb 13, 2021 · 6 comments

Comments

@WindowsNT
Copy link

WindowsNT commented Feb 13, 2021

I tried to install an older setup and still doesn't work.

Python: 3.5.4
TensorFlow: 1.6.0

Traceback (most recent call last):
  File "R:\handwriting-synthesis-master\demo.py", line 9, in <module>
    from rnn import rnn
  File "R:\handwriting-synthesis-master\rnn.py", line 9, in <module>
    from rnn_cell import LSTMAttentionCell
  File "R:\handwriting-synthesis-master\rnn_cell.py", line 16, in <module>
    class LSTMAttentionCell(tf.compat.v1.nn.rnn_cell.RNNCell):
AttributeError: module 'tensorflow.python.util.compat' has no attribute 'v1'

would you please give us a working environment? which python+tensorflow version would be appropriate?

@chavenor
Copy link

Python 3.6.8 (tags/v3.6.8�) - Worked for me.

@daphna-kaplan
Copy link

@chavenor you mean your setup was:
python 3.6.8 & tensorflow 1.6.0 ?
because I am running into a different issue in that case

protobuf requires Python '>=3.7' but the running Python is 3.6.8

@robreetheree
Copy link

@daphna-kaplan
I am running into the same issue with python 3.5.2
I am also running into an issue when running demo.py, I get the error: ImportError: No module named 'tensorflow'

@sah1lga1kwad
Copy link

@daphna-kaplan I am running into the same issue with python 3.5.2 I am also running into an issue when running demo.py, I get the error: ImportError: No module named 'tensorflow'

Did you figure this out?

@robreetheree
Copy link

robreetheree commented Jan 31, 2024 via email

@sah1lga1kwad
Copy link

I ran it all with anaconda running python 3.6.4

On Tue, Jan 30, 2024 at 10:20 PM Sahil Gaikwad @.> wrote: @daphna-kaplan https://github.com/daphna-kaplan I am running into the same issue with python 3.5.2 I am also running into an issue when running demo.py, I get the error: ImportError: No module named 'tensorflow' Did you figure this out? — Reply to this email directly, view it on GitHub <#48 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAUFH3GXAEIW3BN2DFYU6FLYRHPBJAVCNFSM4XR5ZBD2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJRHA2DMMBQGYYA . You are receiving this because you commented.Message ID: @.>

Is it possible that using this Repo - I can upload 20-30 pages of my own handwriting and this code then can write in that particular style?

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

5 participants