-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
Thank you for creating the valuable dataset and library!
I installed imagenet_c from pip.
When calling corrupt
function with "gaussian_blur"
option, TypeError is raised as the following:
from imagenet_c import corrupt
import numpy as np
x = np.zeros((224, 224, 3), dtype=np.uint8)
x_c = corrupt(x, 3, "gaussian_blur")
# TypeError: gaussian() got an unexpected keyword argument 'multichannel'
I discovered that the error arises from the deprecation of the 'multichannel' argument in a recent version of the skimage.
https://scikit-image.org/docs/stable/api/skimage.filters.html#skimage.filters.gaussian
Thank you.
stsavian, NanmorX, jjakubassa and DavidS1999
Metadata
Metadata
Assignees
Labels
No labels