msracver / Deformable-ConvNets

Deformable Convolutional Networks
MIT License
4.04k stars 959 forks source link

Exception: unknown storage type: -1 when no OHEM #228

Open HaydenFaulkner opened 5 years ago

HaydenFaulkner commented 5 years ago

When running (training with) resnet_v1_101_coco_trainval_fpn_dcn_end2end_ohem.yaml with ohem set to false I get the following error to do with storage types in the backward pass of the custom functions:

Error in CustomOp.backward: Traceback (most recent call last):
      File "python2.7-mxnet/lib/python2.7/site-packages/mxnet/operator.py", line 1029, in backward_entry stype=stype))
      File "python2.7-mxnet/lib/python2.7/site-packages/mxnet/ndarray/sparse.py", line 1188, in _ndarray_cls
      raise Exception("unknown storage type: %s"%stype)
Exception: unknown storage type: -1

Any ideas on what might cause this error and how to resolve, thanks :)

luliyucoordinate commented 5 years ago

@HaydenFaulkner I have the same problem. Have you solved it?

chituma110 commented 5 years ago

I have the same problem. Have you solved it?

HaydenFaulkner commented 5 years ago

Sorry guys, I never found the cause of this issue and am now working on other projects 😓