I used the describied pip install torch torchvision
and then pip install fastai
within a virtual environment but then when i do a
from fastai.vision import *
i get the following
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
----> 1 from fastai.vision import *
2 from fastai.metrics import error_rate
3
~/Documents/DecorMatters/dm_bg_removal/venv/lib/python3.6/site-packages/fastai/vision/__init__.py in
3 from .learner import *
4 from .image import *
----> 5 from .data import *
6 from .transform import *
7 from .tta import *
~/Documents/DecorMatters/dm_bg_removal/venv/lib/python3.6/site-packages/fastai/vision/data.py in
2 from ..torch_core import *
3 from .image import *
----> 4 from .transform import *
5 from ..data_block import *
6 from ..basic_data import *
~/Documents/DecorMatters/dm_bg_removal/venv/lib/python3.6/site-packages/fastai/vision/transform.py in
231
232 # XXX: replace this with direct usage of `solve` once fastai requires pytorch 1.1+
--> 233 _solve_func = getattr(torch, 'solve', torch.gesv)
234
235 def _find_coeffs(orig_pts:Points, targ_pts:Points)->Tensor:
AttributeError: module 'torch' has no attribute 'gesv'
when i check out the versions of my libraries i get
import torch; print(torch.__version__)
1.2.0
import fastai; fastai.__version__
1.0.55
This was all working great before on my mac If anyone has any suggestions …