RT 我在一个项目中light_human_pose_libtorch-master 复制模型到我自己的项目中,发现加载错误
加载代码如下
torch::jit::script::Module module;
try{
module = torch::jit::load("human_pose_light_model.pt");
}catch (const c10::Error &e){
std::cerr << "error loading the model\n";
return -1;
}
请问这跟libtorch版本有关吗?