I used libtorch to write resnet18 for training in C++, so how to load resnet18.pth in pytorch to help pre-training；
Cannot import using torch::load(resnet18,"./resnet18.pth")
Resnet18 written in c++ is correct