libtorch-yolov3
libtorch-yolov3 copied to clipboard
crash while load_weights
loading weight ...
terminate called after throwing an instance of 'c10::Error'
what(): !is_variable() ASSERT FAILED at /pytorch/c10/core/TensorImpl.h:922, please report a bug to PyTorch. (shallow_copy_and_detach at /pytorch/c10/core/TensorImpl.h:922)
frame #0: std::function<std::string ()>::operator()() const + 0x11 (0x7efc2cd3f441 in /home/youyi/Documents/packages/libtorch/lib/libc10.so)
frame #1: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x2a (0x7efc2cd3ed7a in /home/youyi/Documents/packages/libtorch/lib/libc10.so)
frame #2:
based on pytorch 1.1.0
#12 #4