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

weight? #1

Open
mgq1507 opened this issue Apr 14, 2018 · 6 comments
Open

weight? #1

mgq1507 opened this issue Apr 14, 2018 · 6 comments

Comments

@mgq1507
Copy link

mgq1507 commented Apr 14, 2018

can you give a baiduyun link about weight?thank you! Dataset can offer a download address?

@anson0910
Copy link
Owner

Hi,

Here's the baiduyun weights link:
https://pan.baidu.com/s/1jNa5hKC_e9OgxW234oiR-g

The dataset was obtained from here:
http://scikit-learn.org/stable/datasets/olivetti_faces.html

Thanks,
Anson

@mgq1507
Copy link
Author

mgq1507 commented Apr 17, 2018

Thank you very much!

@mgq1507
Copy link
Author

mgq1507 commented Apr 17, 2018

self.model.load_weights(weights_path) countered a error:
FailedPreconditionError Traceback (most recent call last)

@mgq1507
Copy link
Author

mgq1507 commented Apr 17, 2018

@anson0910

@anson0910
Copy link
Owner

Hi,

Can you try if this works?
https://stackoverflow.com/questions/45078392/failedpreconditionerror-attempting-to-use-uninitialized-value-with-keras

Maybe try changing the _W_init and _b_init methods to return
keras.initializers.RandomNormal(mean=0.0, stddev=1e-2, seed=None)
instead of K.variable

Thanks!
Anson

@mgq1507
Copy link
Author

mgq1507 commented Apr 18, 2018

I have solved this problem. Thank you ,Anson!

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

2 participants