google_utils.attempt_download(weights) | google_utils.attempt_download(weights) | ||||
model = torch.load(weights, map_location=device)['model'] | model = torch.load(weights, map_location=device)['model'] | ||||
torch_utils.model_info(model) | torch_utils.model_info(model) | ||||
# Fuse | |||||
# model.fuse() | # model.fuse() | ||||
model.to(device) | model.to(device) | ||||