# For documentation, please refer to "doc/tasks.md"

dataDir="/data2/mengtial"

methodName=mrcnn50_nm
scale=0.5

# "--perf-factor 1.2" means 20% faster than the provided runtime
python det/srt_det.py \
	--data-root "$dataDir/Argoverse-1.1/tracking" \
	--annot-path "$dataDir/Argoverse-HD/annotations/val.json" \
	--fps 30 \
	--cached-res "$dataDir/Exp/Argoverse-HD/output/${methodName}_s${scale}/val/results_raw.pkl" \
	--runtime "$dataDir/Exp/Argoverse-HD/runtime-zoo/1080ti/${methodName}_s${scale}.pkl" \
	--perf-factor 1.2 \
	--dynamic-schedule \
	--out-dir "$dataDir/Exp/Argoverse-HD/output/srt_${methodName}_ds_pf1.2_s${scale}/val" \
	--overwrite \
    && 
python det/streaming_eval.py \
	--data-root "$dataDir/Argoverse-1.1/tracking" \
	--annot-path "$dataDir/Argoverse-HD/annotations/val.json" \
	--fps 30 \
	--eta 0 \
	--result-dir "$dataDir/Exp/Argoverse-HD/output/srt_${methodName}_ds_pf1.2_s${scale}/val" \
	--out-dir "$dataDir/Exp/Argoverse-HD/output/srt_${methodName}_ds_pf1.2_s${scale}/val" \
	--overwrite \
	--vis-dir "$dataDir/Exp/Argoverse-HD/vis/srt_${methodName}_ds_pf1.2_s${scale}/val" \
	--vis-scale 0.5 \
