FrancoMango commited on
Commit
9401843
·
verified ·
1 Parent(s): 5b112e8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -8,6 +8,6 @@ lon_mean = -75.19136178838008
8
  lon_std = 0.0006865423903444358
9
 
10
  <h1>Running Inference</h1>
11
- model_path = hf_hub_download(repo_id="Latitude-Attitude/vit-gps-coordinates-predictor-with-filter", filename="vit-gps-coordinates-predictor-with-filter-2.pth") model = torch.load(model_path) model.eval()
12
 
13
  with torch.no_grad(): for images in dataloader: images = images.to(device) outputs = model(images) preds = outputs.cpu() * torch.tensor([lat_std, lon_std]) + torch.tensor([lat_mean, lon_mean])
 
8
  lon_std = 0.0006865423903444358
9
 
10
  <h1>Running Inference</h1>
11
+ model_path = hf_hub_download(repo_id="Latitude-Attitude/vit-gps-coordinates-predictor-with-filter", filename="vit-gps-coordinates-predictor-with-filter-3.pth") model = torch.load(model_path) model.eval()
12
 
13
  with torch.no_grad(): for images in dataloader: images = images.to(device) outputs = model(images) preds = outputs.cpu() * torch.tensor([lat_std, lon_std]) + torch.tensor([lat_mean, lon_mean])