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
There is an error message whenever I run this code:
from pixellib.torchbackend.instance import instanceSegmentation
Indicating that there is an AttributeError because the Image module from the PIL (Pillow) library does not have an attribute LINEAR. It suggests using BILINEAR instead, which is a correct attribute and represents a resampling filter for resizing images.
The fix to this is to change the interp=Image.LINEAR to interp=Image.BILINEAR in line 46 col 65 in the transform.py file.
The text was updated successfully, but these errors were encountered:
There is an error message whenever I run this code:
from pixellib.torchbackend.instance import instanceSegmentation
Indicating that there is an AttributeError because the Image module from the PIL (Pillow) library does not have an attribute LINEAR. It suggests using BILINEAR instead, which is a correct attribute and represents a resampling filter for resizing images.
The fix to this is to change the
interp=Image.LINEAR
tointerp=Image.BILINEAR
in line 46 col 65 in the transform.py file.The text was updated successfully, but these errors were encountered: