Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Raster IO #679

Merged
merged 31 commits into from
Jul 23, 2024
Merged

Update Raster IO #679

merged 31 commits into from
Jul 23, 2024

Conversation

czaloom
Copy link
Collaborator

@czaloom czaloom commented Jul 23, 2024

Changes

  • Raster pixel type changed from 8BUI (8-bit unsigned integer) to 1BB (1-bit integer).
  • No longer using ST_AsPNG for Raster retrieval. This was an issue as hosted postgresql instances do not support this function.
  • Object Detection benchmark now operates over 6 datums.

This did not seem to cause any performance benefits for small batch sizes.

before (main)

{
    "23/07/2024 18:14:12": {
        "number_of_datums": 6,
        "number_of_unique_labels": 28,
        "number_of_annotations": 142,
        "ingest_runtime": "28.2 seconds",
        "eval_runtime": "13.7 seconds",
        "del_runtime": "0.1 seconds"
    },
    "23/07/2024 18:14:55": {
        "number_of_datums": 6,
        "number_of_unique_labels": 28,
        "number_of_annotations": 142,
        "ingest_runtime": "28.7 seconds",
        "eval_runtime": "13.8 seconds",
        "del_runtime": "0.0 seconds"
    }
}

after (PR 679)

{
    "23/07/2024 18:05:44": {
        "number_of_datums": 6,
        "number_of_unique_labels": 28,
        "number_of_annotations": 142,
        "ingest_runtime": "29.6 seconds",
        "eval_runtime": "13.7 seconds",
        "del_runtime": "0.1 seconds"
    },
    "23/07/2024 18:06:28": {
        "number_of_datums": 6,
        "number_of_unique_labels": 28,
        "number_of_annotations": 142,
        "ingest_runtime": "29.3 seconds",
        "eval_runtime": "13.8 seconds",
        "del_runtime": "0.0 seconds"
    }
}

@czaloom czaloom self-assigned this Jul 23, 2024
@czaloom czaloom changed the title Change Raster Pixel Type Change Raster Pixel Type to 1-bit Jul 23, 2024
@czaloom czaloom changed the title Change Raster Pixel Type to 1-bit Update Raster IO Jul 23, 2024
@czaloom czaloom marked this pull request as ready for review July 23, 2024 18:22
@czaloom czaloom merged commit 01b92a8 into main Jul 23, 2024
12 checks passed
@czaloom czaloom deleted the czaloom-raster-pixeltype-fix branch July 23, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants