I'm trying to convert torchvision dcn to tvm dcn. However, with the same 
inputs, i couldn't get same output from torchvision dcn and tvm dcn. 

I tried 2 versions of pytorch dcn implementation, torchvision & mmcv, get the 
sample outputs with the same inputs(data, offset, weight).
But, results from `relay.nn.deformable_conv2d` and 
`torchvision.ops.DeformConv2d` are not the same.

test codes can be find 
[here](https://github.com/irvingzhang0512/tvm_tests/blob/master/dcn/dcn_tests.py).
 Results of the above test codes are
```
deformable_conv2d is not optimized for this platform.
pytorch torchvision res & tvm relay res 10.931563
mmcv dcn vs torchvision dcn 0.0
```





---
[Visit 
Topic](https://discuss.tvm.ai/t/deformable-conv-implementations-differences-between-pytorch-torhcvision-tvm/7702/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/ad585682ce60a85c76c770f7f1d3e2416d58036c38ac0469a0d7327cdfb8f77a).

Reply via email to