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

Getting "UnboundLocalError: local variable 'cell_fn' referenced before assignment" #24

Open
IronCraftMan opened this issue Sep 8, 2019 · 0 comments

Comments

@IronCraftMan
Copy link

Running it using anaconda on Windows. The full error is:

Traceback (most recent call last):
  File "train.py", line 379, in <module>
    main()
  File "train.py", line 249, in main
    train_model = CharRNN(is_training=True, use_batch=True, **params)
  File "H:\Development\ML\tensorflow-char-rnn\char_rnn_model.py", line 68, in __init__
    cell = cell_fn(
UnboundLocalError: local variable 'cell_fn' referenced before assignment

I'm not a python programmer, so I have no clue as to how to solve this error.

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

1 participant