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
The reason for the error here is that the shape is [1, 6, 1, 0, 8], where the 0 in the fourth dimension is an invalid input; it must be greater than 0 to be correct. The error message from MaxPool3d is reported because the underlying implementation of mindspore.nn.MaxPool2d uses the maxpool3dwithargmax operator.
The reason for the error here is that the shape is [1, 6, 1, 0, 8], where the 0 in the fourth dimension is an invalid input; it must be greater than 0 to be correct. The error message from MaxPool3d is reported because the underlying implementation of mindspore.nn.MaxPool2d uses the maxpool3dwithargmax operator.
Thank you for your reply! I think that's the case, mindspore should be catching exceptions at a higher level of code so that it doesn't throw confusing exception hints.
Environment
Hardware Environment(
Ascend
/GPU
/CPU
): GPUSoftware Environment:
Describe the current behavior
It should be mindspore.nn.MaxPool2d throwing exceptions, but the display is MaxPool3D, which looks misleading.
Steps to reproduce the issue
Related log / screenshot
The text was updated successfully, but these errors were encountered: