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

Incorrect output in ipynb example 'spn_saving_loading' #31

Open
nash911 opened this issue Sep 27, 2017 · 0 comments
Open

Incorrect output in ipynb example 'spn_saving_loading' #31

nash911 opened this issue Sep 27, 2017 · 0 comments

Comments

@nash911
Copy link
Collaborator

nash911 commented Sep 27, 2017

In 'spn_saving_loading' ipynb example, a simple dense SPN is created and saved to files, once before initializing the weights, and once after initializing weights. Then the original network is evaluated in a session, followed by loading the two previously saved networks from the respective files, and in turn evaluating them in sessions. The example states that the output of the original network and the network created by loading from the post-initialization file should be the same, but are not.

Printing the weights of the root node of the two networks show that the weights of the second network are different from that of the first, indicating a potential bug in spn.initialize_weights() function.

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

1 participant