Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

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

Open
hxl835097324 opened this issue Apr 14, 2021 · 0 comments
Open

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

hxl835097324 opened this issue Apr 14, 2021 · 0 comments

Comments

@hxl835097324
Copy link

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))]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant