Add Koniakow Kadluby dataset #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Point Cloud Evaluation Workflow | |
on: | |
pull_request_target: | |
branches: | |
- main | |
paths: | |
- '**.laz' | |
jobs: | |
classification: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout datasets repository | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GROUND_TRUTH_REPO_TOKEN }} | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: Set Swap Space | |
uses: pierotofy/set-swap-space@master | |
with: | |
swap-size-gb: 12 | |
- name: Checkout ground truth repository | |
uses: actions/checkout@v2 | |
with: | |
repository: ${{ secrets.GROUND_TRUTH_REPO }} | |
token: ${{ secrets.GROUND_TRUTH_REPO_TOKEN }} | |
path: ground-truth | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
- name: Upgrade pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && sudo apt-get install -y --fix-missing --no-install-recommends \ | |
libtbb2 \ | |
libboost-iostreams1.74.0 \ | |
libboost-system1.74.0 \ | |
libboost-serialization1.74.0 \ | |
libpdal-base13 \ | |
libgomp1 \ | |
curl \ | |
jq \ | |
zip | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJSON(github) }} | |
run: echo "$GITHUB_CONTEXT" | |
- name: Run classification workflow | |
run: | | |
bash evaluation/run.sh ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | |
env: | |
GROUND_TRUTH_REPO_TOKEN: ${{ secrets.GROUND_TRUTH_REPO_TOKEN }} | |
- name: Comment in PR with results | |
run: | | |
bash evaluation/comment_stats.sh | |
env: | |
GROUND_TRUTH_REPO_TOKEN: ${{ secrets.GROUND_TRUTH_REPO_TOKEN }} | |
- name: Upload model as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: model | |
path: model.bin | |
- name: Upload stats file as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: new-stats | |
path: new-stats.zip |