[TVM Discuss] [Questions] Deformable conv implementations differences between pytorch torhcvision & tvm

2020-09-01 Thread irving512 via TVM Discuss
Try to use mxnet dcn, it turns out that tvm & mxnet dcn have the same results. Codes can be find https://github.com/irvingzhang0512/tvm_tests/blob/master/dcn/dcn_tests.py ``` deformable_conv2d is not optimized for this platform. pytorch torchvision dcn vs tvm relay dcn 10.221999 mmcv dcn vs to

[TVM Discuss] [Questions] Deformable conv implementations differences between pytorch torhcvision & tvm

2020-08-23 Thread irving512 via TVM Discuss
Still get different results. I'm not familiar with relay, correct me if i make rookie mistakes. In my sample code, `data` is input, `bias` & `weight` are params, so `m.set_input('data', ...)` is enough. PS: I use `offset = relay.var("bias", ...)` instead of `offset = relay.var("offset", ...)

[TVM Discuss] [Questions] Deformable conv implementations differences between pytorch torhcvision & tvm

2020-08-23 Thread irving512 via TVM Discuss
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 f