Open KangKeqiang opened 6 years ago
I also encounter this problem. Have you solved it?
Yes, I had changed the code as follow: def lr_scheduler(epoch): lr_base = 0.01 lr_power= 0.9 lr = lr_base * ((1 - float(epoch)/epochs) ** lr_power) print('lr: %f' % lr) return lr
Hope it can help you!
Hope it can help you!
My E-mail is 1057520143@qq.com.I had other problems during VGG16 training. I don't know whether I could ask you.
UnboundLocalError Traceback (most recent call last)