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
loaded library: /lib/x86_64-linux-gnu/libibverbs.so.1
torch.Size([2, 10, 1, 64, 58, 58])
Traceback (most recent call last):
File "/home/ubuntu/work/oneflow/vision/flowvision/models/ttest.py", line 16, in<module>
fOut = fPad(flowTensor)
File "/home/ubuntu/miniconda3/envs/flow/lib/python3.8/site-packages/oneflow/nn/module.py", line 115, in __call__
res = self.forward(*args, **kwargs)
File "/home/ubuntu/miniconda3/envs/flow/lib/python3.8/site-packages/oneflow/nn/modules/padding.py", line 414, in forward
return flow._C.pad(x, pad=self.padding, mode="constant", value=self.value)
RuntimeError:
File "/home/ci-user/runners/release/_work/oneflow/oneflow/oneflow/core/functional/impl/nn_functor.cpp", line 1858, inoperator()
Check failed: (ndim) <= (5) (6 vs 5) Dimension of input tensor should less than or equal to 5
问题
nn.ZeroPad2d 行为与 pytorch 不一致
报错
最小复现
The text was updated successfully, but these errors were encountered: