Ligeng-Zhu commited on
Commit
3f0e2fe
1 Parent(s): f9501c3

Upload srun.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. srun.sh +16 -0
srun.sh ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # for csv_path in *.csv; do
2
+ # echo $csv_path
3
+ # echoo "$(hostname) pulling $csv_path"
4
+ # python main.py --csv=$csv_path
5
+ # done
6
+
7
+ # echoo "$(hostname) finish pulling webvid"
8
+
9
+ csv_path=results_2M_train.csv
10
+ total=10
11
+ echoo "$(hostname) pulling $csv_path"
12
+ # for csv_path in *.csv; do
13
+ for i in $(seq 6 9); do
14
+ python main.py --csv=$csv_path --shards=$i --total=$total
15
+ echoo "$(hostname) finish python main.py --csv=$csv_path --shards=$i --total=$total"
16
+ done