Views
No views yet
1import torch 2 3# Load model 4checkpoint = torch.load('pytorch_model.bin') 5# Initialize model with config and load weights