-
Notifications
You must be signed in to change notification settings - Fork 18
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
ImportError: cannot import name 'solve' from 'torch.linalg' #222
Comments
import torch
from packaging import version
from torch import solve as _solve
def solve(A: torch.Tensor, B: torch.Tensor) -> torch.Tensor:
return _solve(B, A).solution |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using
Python 3.8.2
as suggested.My pip freeze is:
But I get the following error:
when running:
python apply_events.py -b=1 -r config/model/masker -i=inputs -o=outputs
The text was updated successfully, but these errors were encountered: