When using pytorch1.2 ,one line of my code reports an error in make process which was not reported when using pytorch1.1.Is there anyone knowing how to solve it?
This is the error code:
“shared_ptrtorch::jit::script::Module module = torch::jit::load(”/media/usr515/ed65d8df-d015-4269-90bc-ac3cccb109a8/dsq/zz/stereo/psmnet_2.pt");"
This is the error report:
error: conversion from ‘torch::jit::script::Module’ to non-scalar type ‘std::shared_ptrtorch::jit::script::Module’ requested
shared_ptrtorch::jit::script::Module module = torch::jit::load("/media/us"