ColorfulAI
commited on
Commit
•
7f4be9d
1
Parent(s):
3f14d25
Delete ego/select.py
Browse files- ego/select.py +0 -12
ego/select.py
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
import os, shutil
|
2 |
-
import random
|
3 |
-
random.seed(43)
|
4 |
-
|
5 |
-
video_dir = "/scratch2/nlp/patrick/data/ZeroShotQA/EgoSchema_Zero_Shot_QA/videos"
|
6 |
-
|
7 |
-
all_files = os.listdir(video_dir)
|
8 |
-
|
9 |
-
videos = random.sample(all_files, 20)
|
10 |
-
|
11 |
-
for video in videos:
|
12 |
-
shutil.copy(f"{video_dir}/{video}", f"/scratch/nlp/patrick/codes/VidLNeedleFinder/needlehaystack/haystack/ego/{video}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|