File size: 1,125 Bytes
2cd560a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env bash
# ------------------------------------------------------------------------
# Copyright (c) 2022 megvii-research. All Rights Reserved.
# ------------------------------------------------------------------------


set -x

set -o pipefail

OUTPUT_DIR=$1

# clean up *.pyc files
rmpyc() {
  rm -rf $(find -name __pycache__)
  rm -rf $(find -name "*.pyc")
}


cp submit_dance.py $OUTPUT_DIR

pushd $OUTPUT_DIR

args=$(cat *.args)
# rlaunch --cpu 8 --gpu 1 --memory 24000 --positive-tags 2080ti -P 13 -- python3 submit_dance.py ${args} --resume checkpoint.pth --exp_name tracker
python3 submit_dance.py ${args} --resume checkpoint.pth --exp_name tracker

popd

# python3 ../TrackEval/scripts/run_mot_challenge.py \
#     --SPLIT_TO_EVAL val  \
#     --METRICS HOTA CLEAR Identity  \
#     --GT_FOLDER /data/datasets/DanceTrack/val \
#     --SEQMAP_FILE seqmap \
#     --SKIP_SPLIT_FOL True \
#     --TRACKER_SUB_FOLDER tracker \
#     --TRACKERS_TO_EVAL $OUTPUT_DIR \
#     --USE_PARALLEL True \
#     --NUM_PARALLEL_CORES 8 \
#     --PLOT_CURVES False \
#     --TRACKERS_FOLDER '' | tee -a $OUTPUT_DIR/eval.log