Spaces:
Running on CPU Upgrade

osv5m commited on
Commit
8619910
1 Parent(s): 5bf9189

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -392,6 +392,7 @@ class Engine(object):
392
  pred_lon, pred_lat = self.preds[self.index]
393
  self.mpl_style(pred_lon, pred_lat, true_lon, true_lat, click_lon, click_lat)
394
 
 
395
  distance = haversine(true_lat, true_lon, click_lat, click_lon)
396
  score = geoscore(distance)
397
  self.stats['scores'].append(score)
 
392
  pred_lon, pred_lat = self.preds[self.index]
393
  self.mpl_style(pred_lon, pred_lat, true_lon, true_lat, click_lon, click_lat)
394
 
395
+ print(f"True: {true_lat}, {true_lon}, Pred: {pred_lat}, {pred_lon}, Click: {click_lat}, {click_lon}")
396
  distance = haversine(true_lat, true_lon, click_lat, click_lon)
397
  score = geoscore(distance)
398
  self.stats['scores'].append(score)