Skip to main content
PyTorch models exported from Roboflow (e.g., YOLO .pt weights) can be verified before loading with the secure loader:
The secure_load call verifies the .pt file’s signature using tuc before passing it to torch.load. If the signature check fails, a ModelVerificationError is raised and the model is never loaded.

Requirements