mapillary/inplace_abn

inplace_abn does not seem to support Pytorch 1.12.1

gdippolito opened this issue · 1 comments

I'm getting the following error when running a training job that was working fine in Pytorch 1.11 with 1.12:

  File "/pip-dl_inplace_abn/inplace_abn/functions.py", line 227, in inplace_abn
    return InPlaceABN.apply(
  File "/pip-dl_inplace_abn/inplace_abn/functions.py", line 86, in forward
    mean, var, count = _backend.statistics(x)
RuntimeError: Tensors of type TensorImpl do not have sizes

Is inplace_abn not compatible with Pytorch 1.12 or is the problem somewhere else?

I think the reason is that the inplace-abn extension is too old