HasnainRaz / FC-DenseNet-TensorFlow

Fully Convolutional DenseNet (A.K.A 100 layer tiramisu) for semantic segmentation of images implemented in TensorFlow.
MIT License
123 stars 41 forks source link

HI~Can i ask about this error? #21

Closed CHIJUI0128 closed 3 years ago

CHIJUI0128 commented 3 years ago

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 commented 3 years ago

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.