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

Troubles when using pretrained KEGG model #23

Closed
ghost opened this issue Dec 15, 2021 · 0 comments
Closed

Troubles when using pretrained KEGG model #23

ghost opened this issue Dec 15, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 15, 2021

Hi, I am sorry to trouble you for my problems.
I downloaded the whole project and try to test your KEGG pre-trained weight with only mouse bulk dataset but there was a error about the shape of the weight matrix.
I added "model.load_weights(model_path,by_name=True)" and found the following information:ValueError: Layer #19 (named "dense_1"), weight <tf.Variable 'dense_1/kernel:0' shape=(512, 512) dtype=float32, numpy=
array( ………………) > has shape (512, 512), but the saved weight has shape (1536, 512).
I wonder if the using of single-cell dataset the key to this problem or maybe your weight is not fit for the code here?
I have tried to trained one with only bulk dataset and it was ok to predict. Well...
It would be greatly appreciated if you could tell me more, thanks.

@ghost ghost closed this as completed Dec 15, 2021
This issue was closed.
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

0 participants