Agendernet icon indicating copy to clipboard operation
Agendernet copied to clipboard

please help me .I got an error:KeyError: 'epoch'

Open hxl835097324 opened this issue 3 years ago • 0 comments

Traceback (most recent call last): File "/home/hxl/project/Agendernet/train.py", line 166, in main() File "/home/hxl/project/Agendernet/train.py", line 138, in main model), KeyError: 'epoch'

python train.py --model inceptionv3 136callbacks = [ 137 ModelCheckpoint( 138 "train_weight/{}-{epoch:02d}-{val_loss:.4f}-{val_gender_prediction_acc:.4f}-{val_age_prediction_mae:.4f}.h5".format( 139 model), 140 verbose=1, save_best_only=True, save_weights_only=True), 141 CSVLogger('train_log/{}-{}.log'.format(MODEL, n_fold))]

hxl835097324 avatar Apr 14 '21 11:04 hxl835097324