xurui/SiamRPNTracker

error

dadaligoudan opened this issue · 2 comments

Hi, i build this project sucessfully, but when i run this project, some errors occurs, could you please help me with it? thanks.

terminate called after throwing an instance of 'c10::Error'
what(): Legacy model format is not supported on mobile.
frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x42 (0x7f72038647d2 in /home/yanfa/disk1/lgq/siamRPNTracker_c++/siam-rpntracker-c-master/libtorch/lib/libc10.so)
frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, char const*) + 0x5f (0x7f7203860f3f in /home/yanfa/disk1/lgq/siamRPNTracker_c++/siam-rpntracker-c-master/libtorch/lib/libc10.so)
frame #2: + 0x332a64a (0x7f71ef3d064a in /home/yanfa/disk1/lgq/siamRPNTracker_c++/siam-rpntracker-c-master/libtorch/lib/libtorch_cpu.so)
frame #3: torch::jit::load(std::shared_ptrcaffe2::serialize::ReadAdapterInterface, c10::optionalc10::Device, std::unordered_map<std::string, std::string, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, std::string> > >&) + 0x1af (0x7f71ef3d178f in /home/yanfa/disk1/lgq/siamRPNTracker_c++/siam-rpntracker-c-master/libtorch/lib/libtorch_cpu.so)
frame #4: torch::jit::load(std::string const&, c10::optionalc10::Device, std::unordered_map<std::string, std::string, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, std::string> > >&) + 0xad (0x7f71ef3d311d in /home/yanfa/disk1/lgq/siamRPNTracker_c++/siam-rpntracker-c-master/libtorch/lib/libtorch_cpu.so)
frame #5: torch::jit::load(std::string const&, c10::optionalc10::Device) + 0x54 (0x7f71ef3d31f4 in /home/yanfa/disk1/lgq/siamRPNTracker_c++/siam-rpntracker-c-master/libtorch/lib/libtorch_cpu.so)
frame #6: main + 0x37b (0x42c9e5 in ./siamrpn_tracker)
frame #7: __libc_start_main + 0xf0 (0x7f71aec8e840 in /lib/x86_64-linux-gnu/libc.so.6)
frame #8: _start + 0x29 (0x42c109 in ./siamrpn_tracker)

I have found the same problem , did you find an answer ?thank you!

请问你解决了吗,我也遇到了这个问题。。。谢谢!