I’m trying to port my refineDet model from ubuntu with python to Windows with c++,and it’s fine when loading modul with torch::jit::load,but std::runtime_error when forward() in Windows with C++.(But this step is fine in Ubuntu with c++, and if using the model in tutorial doc online, both is ok)
It will break in the following code:

image.png1360×816 78.3 KB

Does anyone have a similar problem?