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

a version of the semantic segmentation task for regression #849

Closed
Geethen opened this issue Oct 15, 2022 · 5 comments · Fixed by #1241
Closed

a version of the semantic segmentation task for regression #849

Geethen opened this issue Oct 15, 2022 · 5 comments · Fixed by #1241
Assignees
Labels
trainers PyTorch Lightning trainers
Milestone

Comments

@Geethen
Copy link

Geethen commented Oct 15, 2022

Summary

semantic segmentation models does support regression if 'classes' are changed to 1 and the 'activation' is changed to 'identity'. it will be useful to have a task created for this in torchgeo.

Also, it would be useful if segmentation models supported more recent architectures (not a torchgeo problem)- out of my depth for me to implement.

Rationale

No response

Implementation

No response

Alternatives

No response

Additional information

No response

@adamjstewart adamjstewart added the trainers PyTorch Lightning trainers label Oct 15, 2022
@adamjstewart
Copy link
Collaborator

@isaaccorley this may be useful for our GHG project.

@isaaccorley
Copy link
Collaborator

@isaaccorley this may be useful for our GHG project.

I actually have a draft of this regression trainer which uses MSE loss. I'll make a PR soon.

@isaaccorley
Copy link
Collaborator

@Geethen Can you list a few architectures you would like to see available in the segmentation trainer? From experience, vanilla UNet with some training tricks is generally hard to beat which is why we chose segmentation models pytorch as the backend.

@Geethen
Copy link
Author

Geethen commented Oct 16, 2022

@isaaccorley I have heard this before as well. Nevertheless, it will be cool to have some of these recent models available segnext, stego there are lots of stuff in this repo: https://github.com/robmarkcole/satellite-image-deep-learning#Segmentation.

two models with a proven record (tend to always be some adaptation of UNet as you mentioned):
global tree cover layer: https://github.com/wri/sentinel-tree-cover
Google dynamic world: https://github.com/google/dynamicworld

Corn and coral for ordinal regression: https://github.com/Raschka-research-group/coral-pytorch

@calebrob6
Copy link
Member

@Geethen, btw the google dynamic world paper uses a simple full convolutional net I think the global tree cover layer also uses a simple fcn (but takes in a time series and has recurrent layers)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
trainers PyTorch Lightning trainers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants