camlaedtke / segmentation_pytorch Goto Github PK
View Code? Open in Web Editor NEWSimple image segmentation pipeline in pytorch, using HRNet and SegFormer models
Simple image segmentation pipeline in pytorch, using HRNet and SegFormer models
Hello, I would like to ask you if its possible to use your implementation for a binary segmentation task on a grayscale image data. And if yes, what the simplest way would look like, taking into consideration the loss function and the model parameters, such as num_classes
or in_chans
?
Thank you
Hi, Thanks for contributing to this repo, which makes me easier to understand SegFormer's architecture.
Did you validate the performance achieved by this implementation? Could it reach the results reported in the paper?
I would appreciate it a lot for your answer.
Best regards
missing keys in source state_dict: linear_c4.proj.weight, linear_c4.proj.bias, linear_c3.proj.weight, linear_c3.proj.bias, linear_c2.proj.weight, linear_c2.proj.bias, linear_c1.proj.weight, linear_c1.proj.bias, linear_fuse.weight, linear_fuse.bias, linear_pred.weight, linear_pred.bias
Hello author, could you please tell me which pre-trained models are used in the code, such as mit_b0.pth
?
Thank you very much for your help.
First of all, thank you very much for the great implementation of SegFormer!
While working with your SegFormer version and the pre-trained weights of the original paper, I noticed some minor inconsistencies.
embed_dims=[64, 128, 256, 512],
is not mentioned in the paperdepths=[3, 6, 40, 3]
and mlp_ratios=[4, 4, 4, 4]
are from version b5decoder_dim = 256
is from version b0Further I managed to convert the pre-trained weights from the original repo to your implementation. Would you like me to add a small conversion util to your repo?
I already opened a PR, but would of course like to discuss the changes here first ๐ฅณ.
The Segformer model only accepts a single int for img_size
. Does this mean this model can only be used with square images? If not, how can I use rectangular images?
Thank you.
Hello
How are you?
Thanks for contributing to this project.
I found that the sigmoid/softmax activation is NOT applied for the model's output when it is evaluated.
Please check the function "validate" in your notebook file "segmentation_segformer.ipynb".
Could u explain the reason?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.