I also switched to fastai==0.7.0 following the announcement but now I am getting this error
/usr/local/lib/python3.6/dist-packages/fastai/transforms.py in ()
3 from enum import IntEnum
4
----> 5 def scale_min(im, targ, interpolation=cv2.INTER_AREA):
6 “”" Scales the image so that the smallest axis is of size targ.
7
NameError: name ‘cv2’ is not defined
did someone else faced this issue too? I am stuck for a while.
I apparently solved the cv2 import problem by importing it directly as ‘import cv2’. It seems to work but I won’t know for sure until I find out how to import FilesDataset. I believe that I have fastai v1.0.24, but I am at work so not positive.