SegFormer / README.md
SDoyez's picture
add my segformer to HF
ad21764
|
Raw History Blame Contribute Delete
1.27 kB
metadata
license: mit

SegFormer (rebuilt the architecture + loading weights from NVIDIA + finetuning):

SegFormer trained on the dataset , by using the OpenMLCore framework. The based Pytorch Code is available in model.py


๐Ÿ“Œ Results

Visualisations:

There are some results after the training on Cells_one_hot_encoding dataset.

Cells Multiclass:

Result 1 Result 2
Description Image 1 Description Image 2

๐Ÿ“Š Metrics & Performances (Validation)

Performance on Cells detection dataset:

Please note that, SegFormer is a Vision Transformer, so by definition, it is hard to make converge properly and easy to make it overfit. I added some drop out, Data augmenntation, weight decay et regularization.

Model / Configuration Accuracy IoU Precision Recall F1-Score
Modรจle V1(Cells monoclass dataset) 0.9496 0.7006 0.8410 0.7719 0.8026

โš™๏ธ Model training:

I used my personal Framework ( a wrapper of PyTorch) to train the model.

Install the framework:

git clone https://github.com/sebastien-doyez2812/OpenML-core.git
cd OpenML-core