-
Notifications
You must be signed in to change notification settings - Fork 189
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
[BUG] Quanvolution demo results don't match rendered version #257
Comments
My first guess was that this was a non-executed demo, but it looks like it is executed 🤔 |
Yes, same here. Do you get different results as well when you run it locally? |
Might not get a chance currently! Will pencil it in as a todo. I wonder if this is related to @co9olguy's numerical accuracy issue. @glassnotes, if you run the PL test suite locally, does everything pass? |
It actually does not - I get a few failures (noted below), but nothing I would expect to affect the results of the demo execution.
|
Hey @glassnotes, is this still showing the incorrect result? |
😬 😬 😬 |
It's super weird... I again used a fresh environment, installing directly from the repo requirements file. Maybe it's because I used Python 3.8? What version does the CI use? Do you observe this locally too? |
Looks like the CI is using Python 3.7.2. If the demo doesn't set a seed, it could be due to the CI running all the demos, resulting in a 'better' seed when this demo is run |
This demo actually does set seeds though, that's the weird thing. For both numpy and tensorflow 😕 |
@KetpuntoG nice! Although I suppose the mystery is not solved, as your results show classical training beating the quantum training, which isn't what the demo originally showed |
Yeah, I would say this is maybe more an issue with the conclusion of the demo, rather than a seed issue |
First noted by a user here, and confirmed independently by me using a fresh environment with the most recent version of PennyLane and contents of the
qml
repo requirements file.The plots produced at the end (left) don't match the results in the demo (right). The user obtained identical plots to my locally run version (given this, and the consistency of the results, the issue doesn't appear to be one that stems from random seeds or anything).
The text was updated successfully, but these errors were encountered: