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

error: UnboundLocalError: local variable 'mask_batch' referenced before assignment #9

Open
lizhiaizhanrui opened this issue Mar 13, 2018 · 0 comments

Comments

@lizhiaizhanrui
Copy link

Hello,Thank you very much for you work,I am student with no experience in deep learning and image inpainting. i download your code and try to run it . but when i train the mode by using python train.py, i got a error:
Traceback (most recent call last):
File "train.py", line 138, in
train()
File "train.py", line 66, in train
completion = sess.run(model.completion, feed_dict={x: x_batch, mask: mask_batch, is_training: False})
UnboundLocalError: local variable 'mask_batch' referenced before assignment

I saw the source code and try to solve it, but didn't work at all. if you know why,would you please tell me? thanks very much.

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