Spaces:
Build error
Build error
"-"
Browse files67 unmodified lines6869707172737467 unmodified linescheckpoint = torch.load(ckpt_path, map_location=torch.device('cpu'))# Load the model's weights(best_model.load_state_dict(checkpoint['model_state_dict'])).to(device)# Reinitialize the optimizer with the model's parameters and load its state'''weight_decay = 1e-567 unmodified lines6869707172737467 unmodified linescheckpoint = torch.load(ckpt_path, map_location=torch.device('cpu'))# Load the model's weightsbest_model.load_state_dict(checkpoint['model_state_dict'])# Reinitialize the optimizer with the model's parameters and load its state'''weight_decay = 1e-5
app.py+1-1