You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! It seems like a typo, trying to import "SetLayer0" instead of "SethLayer0". However, I can't quite replicate at the moment. Is it resolved or are you still running into that issue? If you are still running into the issue, does changing SetLayer0 to SethLayer0 resolve it?
Hey! I looked into this bug a bit more. For now, if you change the import to from torchquantum.layer.layers import SethLayer0, it should temporarily fix the issue. I’ve also added a more permanent fix in #206; once the PR is merged, the code should run as is!
Thanks for opening this issue, and feel free to reach out if you have any additional questions!
I am getting an import error as below:
ImportError: cannot import name 'SetLayer0' from 'torchquantum.layer'
https://github.com/mit-han-lab/torchquantum/blob/main/examples/param_shift_onchip_training/param_shift.py
Please help me in resolving the error.
The text was updated successfully, but these errors were encountered: