handwriting-synthesis icon indicating copy to clipboard operation
handwriting-synthesis copied to clipboard

Would't run on tensorflow 1.6.0

Open WindowsNT opened this issue 4 years ago • 6 comments

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?

WindowsNT avatar Feb 13 '21 08:02 WindowsNT

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

chavenor avatar Nov 27 '22 21:11 chavenor

@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

daphna-kaplan avatar Mar 15 '23 15:03 daphna-kaplan

@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'

robreetheree avatar Jun 16 '23 22:06 robreetheree

@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?

sah1lga1kwad avatar Jan 31 '24 06:01 sah1lga1kwad

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 https://github.com/sjvasquez/handwriting-synthesis/issues/48#issuecomment-1918460060, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAUFH3GXAEIW3BN2DFYU6FLYRHPBJAVCNFSM4XR5ZBD2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJRHA2DMMBQGYYA . You are receiving this because you commented.Message ID: @.***>

robreetheree avatar Jan 31 '24 06:01 robreetheree

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?

sah1lga1kwad avatar Jan 31 '24 16:01 sah1lga1kwad