Emotion_Detection_CNN icon indicating copy to clipboard operation
Emotion_Detection_CNN copied to clipboard

Model weights

Open Alok589 opened this issue 3 years ago • 2 comments

Hi,

That's really impressive work. I have been following the steps from your youtube video to train a CNN custom model on the Face-recognition dataset. However, I am facing a problem while saving and downloading the model's weights from the Kaggle notebook.

I know this issue has nothing to do with your code but I would appreciate it if you could help me solving this issue. I am attaching a screenshot and a code snippet for reference. My output file is always empty, doesn't matter whatever I do. I am new to Kaggle and don't have much knowledge of its UI. Please have a look and let me know where I am going wrong to save and download model `weights. Note: Maybe I am not defining the right path to save model weight.

checkpoint = ModelCheckpoint("./alok.h5", monitor='val_acc', verbose=1, save_best_only=True, mode='max')

kaggle

Alok589 avatar Jun 26 '21 13:06 Alok589

I am also same problem tell me the solution?

Hari-cmd avatar Feb 12 '22 05:02 Hari-cmd

try monitor = 'val_accuracy' instead of monitor='val_acc'

CATAKIDOKI avatar Feb 09 '23 19:02 CATAKIDOKI