data-driven-advection icon indicating copy to clipboard operation
data-driven-advection copied to clipboard

InvalidArgumentError: Computed output size would be negative: -3 [input_size: 3, effective_filter_size: 7, stride: 1] [Op:ExtractImagePatches]

Open aditya5252 opened this issue 2 years ago • 0 comments

For any discretization stencil size , k > 3 (In above case k = 7), I get the following error. I am trying to analyze the solution accuracy for larger stencil sizes and I am getting the above error for any stencil with k>3. My apologies if I am making some silly error, but it seems to me like a problem in the extract_patches_2d function but I do not understand how it would cause me to be unable to use k>3. Thanks in Advance.

aditya5252 avatar Apr 05 '22 08:04 aditya5252