Skip to content

Commit

Permalink
fix combination of individual tracker results
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikel Broström committed Sep 17, 2024
1 parent 26479b5 commit 11e35e8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ jobs:
mkdir results
TRACKER_NAME=$(echo ${{ matrix.tracker }} | awk '{print toupper(substr($0,1,1)) tolower(substr($0,2))}')
echo "$TRACKER_NAME,$STATUS,$HOTA,$MOTA,$IDF1" > results/${{ matrix.tracker }}_tmp.txt
column -s, -t results/${{ matrix.tracker }}_tmp.txt > results/${{ matrix.tracker }}.txt
echo "$TRACKER_NAME,$STATUS,$HOTA,$MOTA,$IDF1" > results/${{ matrix.tracker }}.txt
- name: Show Results
run: cat results/${{ matrix.tracker }}.txt
Expand Down Expand Up @@ -191,17 +190,20 @@ jobs:
fi
done
(head -n 1 combined_results.csv && tail -n +2 combined_results.csv | sort -t, -k3 -nr) > sorted_combined_results.csv
column -s, -t sorted_combined_results.csv > pretty_sorted_combined_results.txt
# Sort the results by HOTA in descending order
(head -n 1 combined_results.csv && tail -n +2 combined_results.csv | sort -t, -k3 -nr) > sorted_results.csv
# Create a pretty table from the sorted_results.csv file
column -s, -t sorted_results.csv > pretty_results.txt
- name: Show Combined Results
run: cat pretty_sorted_combined_results.txt
run: cat pretty_results.txt

- name: Upload Combined Results
uses: actions/upload-artifact@v3
with:
name: sorted-combined-results
path: pretty_sorted_combined_results.txt
path: pretty_results.txt


tracking-with-pose:
Expand Down

0 comments on commit 11e35e8

Please sign in to comment.