lucasjinreal / DCNv2_latest

DCNv2 supports decent pytorch such as torch 1.5+ (now 1.8+)
BSD 3-Clause "New" or "Revised" License
626 stars 124 forks source link

Error when trace model #2

Open kikirizki opened 4 years ago

kikirizki commented 4 years ago

Dear @jinfagang when I try to trace a model that use DCNv2 I got this error Could not export Python function call '_DCNv2'. Remove calls to Python functions before export

michaelmo666 commented 2 years ago

did you solve this issuse? I'm getting the same error. This happened when I call torch.jit.save , but torch.jit.trace was fine