tytsui commited on
Commit
efa2618
·
1 Parent(s): 276a433
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -13,7 +13,7 @@ with demo:
13
  gr.HTML("<h1 align='center' id='space-title'>IMG2GPS Student Leaderboard</h1>")
14
  gr.Markdown(
15
  "Upload your PyTorch checkpoint (.pt), `model.py`, and `preprocess.py` to evaluate on the shared dataset. "
16
- "We keep the highest accuracy per Group ID. A separate Leaderboard tab shows best-per-group results and stats.",
17
  elem_classes="markdown-text",
18
  )
19
 
 
13
  gr.HTML("<h1 align='center' id='space-title'>IMG2GPS Student Leaderboard</h1>")
14
  gr.Markdown(
15
  "Upload your PyTorch checkpoint (.pt), `model.py`, and `preprocess.py` to evaluate on the shared dataset. "
16
+ "A separate Leaderboard tab shows best-per-alias results and stats.",
17
  elem_classes="markdown-text",
18
  )
19
 
src/.DS_Store ADDED
Binary file (6.15 kB). View file
 
src/leaderboard/student_results.py CHANGED
@@ -74,6 +74,9 @@ def get_student_leaderboard_df(dataset_name: Optional[str] = None) -> Tuple[pd.D
74
  display_cols = ["alias"] + [c for c in best_df.columns if c not in ["alias", "group_id"]]
75
  best_df = best_df[display_cols]
76
 
 
 
 
77
  return best_df, stats
78
 
79
 
 
74
  display_cols = ["alias"] + [c for c in best_df.columns if c not in ["alias", "group_id"]]
75
  best_df = best_df[display_cols]
76
 
77
+ # Capitalize header for display
78
+ best_df = best_df.rename(columns={"alias": "Alias"})
79
+
80
  return best_df, stats
81
 
82
 
src/submission/student_queue.py CHANGED
@@ -40,11 +40,12 @@ def queue_student_submission(
40
 
41
  # Prepare a small request.json metadata
42
  request_json = {
 
43
  "group_id": group_id,
44
  "alias": alias,
45
  "timestamp": ts,
46
  "status": "PENDING",
47
- "datasets": ["url_val", "url_val16k"],
48
  "has_weights": bool(state_dict_file),
49
  }
50
 
 
40
 
41
  # Prepare a small request.json metadata
42
  request_json = {
43
+ "proj": 1,
44
  "group_id": group_id,
45
  "alias": alias,
46
  "timestamp": ts,
47
  "status": "PENDING",
48
+ "datasets": ["img_val", "img_val_hid"],
49
  "has_weights": bool(state_dict_file),
50
  }
51