Unet model with ConvNext as its encoder.
Project description
ConvNeXt-Unet
Unet model with ConvNext as its encoder.
:construction: Work in progress...
Roadmap
- Source Code
- Document
...
Install
python -m pip install convnext-unet
Usage
from convnext_unet import ConvNeXtUnet
model = ConvNeXtUnet(num_classes=1, encoder_name='convnext_tiny', activation='sigmoid', pretrained=False, in_22k=False)
num_calsses: number of output classes.
encoder_name: name of encoder in convnext_tiny, convnext_small, convnext_base, convnext_large, convnext_xlarge.
activation: activation function to call before output.
pretrained: Whether to load ImageNet pretrained model for encoder.
in_22k: Whether to load ImageNet-22k pretrained model for encoder.
Acknowledgement
This repository is built on top of Pytorch-UNet, ConvNeXt and segmentation_models.pytorch.
Copyright
This project is released under the GPL-3.0 license. Please see the LICENSE file for more information.
Copyright (c) 2022 Tianyi Wang.
All rights reserved.
This program incorporates a modified version of Other Program.
Copyright (c) 2022 Meta Platforms, Inc. and affiliates.
Copyright (c) 2022 milesial.
Copyright (c) 2022 Pavel Iakubovskii.
Reference
@Article{liu2022convnet,
author = {Zhuang Liu and Hanzi Mao and Chao-Yuan Wu and Christoph Feichtenhofer and Trevor Darrell and Saining Xie},
title = {A ConvNet for the 2020s},
journal = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2022},
}
@inproceedings{ronneberger2015u,
title={U-net: Convolutional networks for biomedical image segmentation},
author={Ronneberger, Olaf and Fischer, Philipp and Brox, Thomas},
booktitle={International Conference on Medical image computing and computer-assisted intervention},
pages={234--241},
year={2015},
organization={Springer}
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file convnext_unet-0.0.5.tar.gz.
File metadata
- Download URL: convnext_unet-0.0.5.tar.gz
- Upload date:
- Size: 44.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4feebef6167895d07a2f5662f7812293a13f7f5a20600cb784d93e8fa622db59
|
|
| MD5 |
44323c94862519fe4c9fd72a3739fff9
|
|
| BLAKE2b-256 |
29eeb575c810a00f3c6e28e74dfaf85e8fe5e372622d2d0eff083bae8032ed7c
|
File details
Details for the file convnext_unet-0.0.5-py3-none-any.whl.
File metadata
- Download URL: convnext_unet-0.0.5-py3-none-any.whl
- Upload date:
- Size: 32.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f45aa97bd61907940515aaf5b98127b7189632acc0e895bc84dcedfe3270e486
|
|
| MD5 |
fc3ba74bd5da024a4e1a9d8335173a16
|
|
| BLAKE2b-256 |
c753bbbdff47391a938fcf9148a07bb793ccbe7f27f25b6b556269e7240e4216
|