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

Super Resolution with Hugging Face Models #127

Open
2320sharon opened this issue Apr 13, 2023 · 3 comments
Open

Super Resolution with Hugging Face Models #127

2320sharon opened this issue Apr 13, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request V2 for version 2 of coastseg

Comments

@2320sharon
Copy link
Collaborator

Super Resolution with Hugging Face Models

Replace pan sharpening with a super resolution model from hugging face. These models would not require a GPU as they run on inference mode which only requires a CPU to run.

Basic Workflow

  1. Download the model weights if they don't exist locally
  2. Apply the model to the imagery

From what I understand the super resolution AI increases the number of pixels in the image meaning the process of extracting shorelines will not be impacting as no spatial information will be lost. Is this correct @dbuscombe-usgs or am I misunderstanding something

@2320sharon 2320sharon added the enhancement New feature or request label Apr 13, 2023
@dbuscombe-usgs
Copy link
Member

Here's a (bad) example I put together a while back https://huggingface.co/spaces/dbuscombe/SatelliteSuperResolution

@dbuscombe-usgs
Copy link
Member

Another potential option:https://huggingface.co/CompVis/ldm-super-resolution-4x-openimages

@dbuscombe-usgs
Copy link
Member

This is a v2 feature request

@dbuscombe-usgs dbuscombe-usgs added the V2 for version 2 of coastseg label May 11, 2023
@2320sharon 2320sharon moved this from Todo to Up Next in CoastSeg Project Oct 5, 2023
@2320sharon 2320sharon moved this from Up Next to Todo in CoastSeg Project Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request V2 for version 2 of coastseg
Projects
None yet
Development

No branches or pull requests

2 participants