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

Error in running qpth of e2e-model-learning. AttributeError: module 'torch' has no attribute 'all' #43

Open
parimuns opened this issue Oct 23, 2020 · 0 comments

Comments

@parimuns
Copy link

Hello Bamos

I am trying to run code of "locuslab/e2e-model-learning/power_sched" repository. I am using pytorch =0.3.1 and torchvision= 0.2 as required by that repository. But when I run that, I get an error related to qpth as shown below .

> /usr/local/lib/python3.6/dist-packages/qpth/qp.py(84)forward()
     82                 for i in range(nBatch):
     83                     e, _ = torch.eig(Q[i])
---> 84                     if not torch.all(e[:,0] > 0):
     85                         raise RuntimeError('Q is not SPD.')'''

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