Hello,
I encountered an error while attempting to use the detect_edges() function on FashionMNIST images.
Here's a test case:
using MLDatasets: FashionMNIST
using ImageEdgeDetection: Canny, detect_edges
x_train = [xy.features for xy in FashionMNIST(:train)]
for x in x_train
println(size(x))
detect_edges(x, Canny(spatial_scale=3))
end
The result:
(28, 28)
(28, 28)
(28, 28)
ERROR: LoadError: TaskFailedException
nested task error: BoundsError: attempt to access 16-element Vector{Matrix{Float64}} at index [17]