Open toyal opened 5 years ago
/Python2C++/main.cpp:18:107: 错误:请求从‘torch::jit::script::Module’转换到非标量类型‘std::shared_ptr’ 有人遇到这种问题吗 std::shared_ptr module = torch::jit::load("/model.pt");
I met such issue. Have you solved it, thanks!
https://blog.csdn.net/qq_33507306/article/details/104427134 please use this idea
/Python2C++/main.cpp:18:107: 错误:请求从‘torch::jit::script::Module’转换到非标量类型‘std::shared_ptr’ 有人遇到这种问题吗
std::shared_ptr module = torch::jit::load("/model.pt");