Thanks I no more get that error instead I get an excpetion :
Unhandled exception at 0x00007FFF8523A308 in LibtorchPort.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000002FB98F7830.

pointing at the very beginning meaning onet.forward:
auto output_o = onet.forward(inputs);
auto  output_p = pnet.forward(std::vector<torch::jit::IValue>{ output_o });
at::Tensor output = rnet.forward(std::vector<torch::jit::IValue>{ output_p }).toTensor();

I also uploaded the mtcnn modules in case they are needed : https://gofile.io/d/DyeriF 3