GeorgeSeif / Semantic-Segmentation-Suite

Semantic Segmentation Suite in TensorFlow. Implement, train, and test new Semantic Segmentation models easily!
2.51k stars 878 forks source link

--epoch_start_i must be 0 #203

Open HangHuang opened 5 years ago

HangHuang commented 5 years ago

Bug reports


when run train.py,--epoch_start_i must be set to 0.if not,the line "ax1.plot(range(epoch+1), avg_scores_per_epoch)"will get error! because the length of avg_scores_per_epoch is not equal to "epoch+1"

SuperWWF commented 5 years ago

Bug reports

when run train.py,--epoch_start_i must be set to 0.if not,the line "ax1.plot(range(epoch+1), avg_scores_per_epoch)"will get error! because the length of avg_scores_per_epoch is not equal to "epoch+1"

hi, I want to know how fix it. Can I just add a 'zero' to avg_score_per_epoch?

NinjaShia commented 5 years ago

Change the line to, range(epoch+1-epoch_start_i), is a quick fix to the plotting issue. Keep in mind that the plot will be truncated too.