← 开源
jeya-maria-jose

UNeXt-pytorch

Official Pytorch Code base for "UNeXt: MLP-based Rapid Medical Image Segmentation Network", MICCAI 2022

Model DevelopmentArchitecturePython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
571
Star
86
Fork
+0
本周
1
贡献者
创建于 2022-03-08 · 更新于 2026-10-12 · 今日第 16815 名
主要开发者
jeya-maria-jose

jeya-maria-jose/UNeXt-pytorch 排名第 16,815,有 571 个星标。

同类别比较

jeya-maria-jose/UNeXt-pytorch 排名第 16,815,此处有 8 个同类条目;facebookresearch/omnivore 排名第 16,812。

同类别比较
名称排名指标
KaihuaTang/Long-Tailed-Recognition.pytorch16,804
语言:
Jupyter Notebook
星标数:
571
分叉数:
70
简介:
[NeurIPS 2020] This project provides a strong single-stage baseline for Long-Tailed Classification, Detection, and Instance Segmentation (LVIS). It is also a PyTorch implementation of the NeurIPS 2020 paper 'Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal Effect'.
PJLab-ADG/3DTrans16,806
语言:
Python
星标数:
571
分叉数:
63
简介:
An open-source codebase for exploring autonomous driving pre-training
conradry/copy-paste-aug16,811
语言:
Jupyter Notebook
星标数:
571
分叉数:
74
简介:
Copy-paste augmentation for segmentation and detection tasks
facebookresearch/omnivore16,812
语言:
Python
星标数:
571
分叉数:
40
简介:
Omnivore: A Single Model for Many Visual Modalities
Diyago/Tabular-data-generation16,820
语言:
Python
星标数:
570
分叉数:
81
简介:
We well know GANs for success in the realistic image generation. However, they can be applied in tabular data generation. We will review and examine some recent papers about tabular GANs in action.
OpenDriveLab/OpenLane16,821
语言:
C++
星标数:
570
分叉数:
52
简介:
[ECCV 2022 Oral] OpenLane: Large-scale Realistic 3D Lane Dataset
Tangshitao/MVDiffusion16,823
语言:
Python
星标数:
570
分叉数:
28
简介:
MVDiffusion: Enabling Holistic Multi-view Image Generation with Correspondence-Aware Diffusion, NeurIPS 2023 (spotlight)
The-Atticus-Project/cuad16,824
语言:
Python
星标数:
570
分叉数:
177
简介:
CUAD (NeurIPS 2021)
关键参数与规格
关键参数与规格
参数值
语言Python
类别Model Development
子类别Architecture
关键词Computer vision, Medical
星标数571
分叉数86
贡献者1
创建日期2022-03-08
更新日期2026-10-12
1 天星标数0
7 天星标数0
排名16,815
上次排名16,605
排名变化-210
7 天星标排名15,739
上次 7 天星标排名15,750
7 天星标排名变化11
总星标排名17,464
上次总星标排名17,434
总星标排名变化-30
README 摘录

UNeXt Official Pytorch Code base for UNeXt: MLP-based Rapid Medical Image Segmentation Network, MICCAI 2022 Paper | Project Introduction UNet and its latest extensions like TransUNet have been the leading medical image segmentation methods in recent years. However, these networks cannot be effectively adopted for rapid image segmentation in point-of-care applications as they are parameter-heavy, computationally complex and slow to use. To this end, we propose UNeXt which is a Convolutional multilayer perceptron (MLP) based network for

image segmentation. We design UNeXt in an effective way with an early convolutional stage and a MLP stage in the latent stage. We propose a tokenized MLP block where we efficiently tokenize and project the convolutional features and use MLPs to model the representation. To further boost the performance, we propose shifting the channels of the inputs while feeding in to MLPs so as to focus on learning local dependencies. Using tokenized MLPs in latent space reduces the number of

parameters and computational complexity while being able to result in a better representation to help segmentation. The network also consists of skip connections between various levels of encoder and decoder. We test UNeXt on multiple medical image segmentation datasets and show that we reduce the number of parameters by 72x, decrease the computational complexity by 68x, and improve the inference speed by 10x while also obtaining better segmentation performance over the state-of-the-art medical image segmentation architectures. Using

the code: The code is stable while using Python 3. 1 Clone this repository: To install all the dependencies using conda: If you prefer pip, install following versions: Datasets 1) ISIC 2018 - Link 2) BUSI - Link Data Format Make sure to put the files as the following structure (e. the number of classes is 2): For binary segmentation problems, just use folder 0. Acknowledgements: This code-base uses certain code-blocks and helper functions from UNet++, Segformer, and AS-MLP

.

常见问题

记录了多少星标和分叉?

jeya-maria-jose/UNeXt-pytorch 有 571 个星标和 86 个分叉。

仓库排名是多少?

jeya-maria-jose/UNeXt-pytorch 排名第 16,815。

记录的语言和类别是什么?

jeya-maria-jose/UNeXt-pytorch 有 571 个星标,语言为 Python,类别为 Model Development。

哪个仓库排名最接近?

jeya-maria-jose/UNeXt-pytorch 与 facebookresearch/omnivore 比较,后者排名第 16,812,有 571 个星标。

README

UNeXt

Official Pytorch Code base for UNeXt: MLP-based Rapid Medical Image Segmentation Network, MICCAI 2022

Paper | Project

Introduction

UNet and its latest extensions like TransUNet have been the leading medical image segmentation methods in recent years. However, these networks cannot be effectively adopted for rapid image segmentation in point-of-care applications as they are parameter-heavy, computationally complex and slow to use. To this end, we propose UNeXt which is a Convolutional multilayer perceptron (MLP) based network for image segmentation. We design UNeXt in an effective way with an early convolutional stage and a MLP stage in the latent stage. We propose a tokenized MLP block where we efficiently tokenize and project the convolutional features and use MLPs to model the representation. To further boost the performance, we propose shifting the channels of the inputs while feeding in to MLPs so as to focus on learning local dependencies. Using tokenized MLPs in latent space reduces the number of parameters and computational complexity while being able to result in a better representation to help segmentation. The network also consists of skip connections between various levels of encoder and decoder. We test UNeXt on multiple medical image segmentation datasets and show that we reduce the number of parameters by 72x, decrease the computational complexity by 68x, and improve the inference speed by 10x while also obtaining better segmentation performance over the state-of-the-art medical image segmentation architectures.

Using the code:

The code is stable while using Python 3.6.13, CUDA >=10.1

  • Clone this repository:
git clone https://github.com/jeya-maria-jose/UNeXt-pytorch
cd UNeXt-pytorch

To install all the dependencies using conda:

conda env create -f environment.yml
conda activate unext

If you prefer pip, install following versions:

timm==0.3.2
mmcv-full==1.2.7
torch==1.7.1
torchvision==0.8.2
opencv-python==4.5.1.48

Datasets

  1. ISIC 2018 - Link
  2. BUSI - Link

Data Format

Make sure to put the files as the following structure (e.g. the number of classes is 2):

inputs
└── 
    ├── images
    |   ├── 001.png
    │   ├── 002.png
    │   ├── 003.png
    │   ├── ...
    |
    └── masks
        ├── 0
        |   ├── 001.png
        |   ├── 002.png
        |   ├── 003.png
        |   ├── ...
        |
        └── 1
            ├── 001.png
            ├── 002.png
            ├── 003.png
            ├── ...

For binary segmentation problems, just use folder 0.

Training and Validation

  1. Train the model.
python train.py --dataset  --arch UNext --name  --img_ext .png --mask_ext .png --lr 0.0001 --epochs 500 --input_w 512 --input_h 512 --b 8
  1. Evaluate.
python val.py --name 

Acknowledgements:

This code-base uses certain code-blocks and helper functions from UNet++, Segformer, and AS-MLP. Naming credits to Poojan.

Citation:

@article{valanarasu2022unext,
  title={UNeXt: MLP-based Rapid Medical Image Segmentation Network},
  author={Valanarasu, Jeya Maria Jose and Patel, Vishal M},
  journal={arXiv preprint arXiv:2203.04967},
  year={2022}
}
排名相邻
同类项目