Load the pretrained weights.
The model to be loaded.
The path to the loading weight file with the suffix .pt or .pt.xz