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

HI~Can i ask about this error? #21

Closed
CHIJUI0128 opened this issue Feb 24, 2021 · 1 comment
Closed

HI~Can i ask about this error? #21

CHIJUI0128 opened this issue Feb 24, 2021 · 1 comment

Comments

@CHIJUI0128
Copy link

i didnt change any word in model.py

Traceback (most recent call last):
File "main.py", line 44, in
main()
File "main.py", line 38, in main
FLAGS.batch_size, FLAGS.epochs, FLAGS.learning_rate)
File "/home/user/CHI_FCN/FC-DenseNet-TensorFlow-master/model.py", line 347, in train
total_train_cost / train_step, total_val_cost / val_step))
UnboundLocalError: local variable 'train_step' referenced before assignment

@HasnainRaz
Copy link
Owner

It seems there is something wrong with your training data. Number of images is incorrect. Please make sure your images are correctly being read and their paths are correct.

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