yolo settings datasets_dir="C:\Programming\Uni\P10-AR-Privacy\datasets"python ./train.pyUsed for the paper when we display number of annotations in the dataset table.
total=0
while IFS= read -r -d '' f; do
n=$(awk 'END{print NR}' "$f")
printf '%s %s\n' "$n" "$f"
total=$((total + n))
done < <(find . -type f -print0)
printf 'TOTAL %s\n' "$total"python ./dataset_downloaders/download_all.pyThe ucloud GPU server is where we perform training
scp -P <PORT> ucloud@ssh.cloud.sdu.dk:/work/P10-AR-Privacy/runs/detect/<TRAIN_NO>/weights/best.pt <LOCAL_PATH>Parameters:
<PORT>— SSH port (e.g.2699)<TRAIN_NO>— training run folder (e.g.train5)<LOCAL_PATH>— local destination path (e.g.C:\Users\Frederik\Downloads\)