How could I solve "No such file or directory" when using libtorch