Libtorch module forward crash

I have successfully loaded the module(CRAFT,vgg-backbone),
But when I run forward, the program will be crashed, and there is no exception message to understand. How can I debug?
(I have put “cout” on the front and back to confirm that the exception point is in the forward)

That is forward output’s type not Tensor.