zziang commited on
Commit
656426d
·
verified ·
1 Parent(s): b7fe228

finish: look for student4.pt in the bundle

Browse files
Files changed (1) hide show
  1. kaggle/notebook_finish.py +3 -0
kaggle/notebook_finish.py CHANGED
@@ -20,6 +20,9 @@ EVAL_VOICES = "a08,a01"
20
 
21
 
22
  def find_student() -> str | None:
 
 
 
23
  hits = glob.glob("/kaggle/input/**/train/student4.pt", recursive=True)
24
  hits += glob.glob("/kaggle/input/**/student4.pt", recursive=True)
25
  print("student4.pt candidates:", hits)
 
20
 
21
 
22
  def find_student() -> str | None:
23
+ local = BUNDLE / "student4.pt"
24
+ if local.exists():
25
+ return str(local)
26
  hits = glob.glob("/kaggle/input/**/train/student4.pt", recursive=True)
27
  hits += glob.glob("/kaggle/input/**/student4.pt", recursive=True)
28
  print("student4.pt candidates:", hits)