Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model weights #2

Open
Alok589 opened this issue Jun 26, 2021 · 2 comments
Open

Model weights #2

Alok589 opened this issue Jun 26, 2021 · 2 comments

Comments

@Alok589
Copy link

Alok589 commented Jun 26, 2021

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

@Hari-cmd
Copy link

I am also same problem tell me the solution?

@CATAKIDOKI
Copy link

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

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

No branches or pull requests

3 participants