mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
* delete convert function and add instruction to README.md * unified model convert and README * remove url * fix import error * fix unittest * rename pretrain * rename vit and deit pretrain * Update upernet_deit-b16_512x512_160k_ade20k.py * Update upernet_deit-b16_512x512_80k_ade20k.py * Update upernet_deit-b16_ln_mln_512x512_160k_ade20k.py * Update upernet_deit-b16_mln_512x512_160k_ade20k.py * Update upernet_deit-s16_512x512_160k_ade20k.py * Update upernet_deit-s16_512x512_80k_ade20k.py * Update upernet_deit-s16_ln_mln_512x512_160k_ade20k.py * Update upernet_deit-s16_mln_512x512_160k_ade20k.py Co-authored-by: Jiarui XU <xvjiarui0826@gmail.com> Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
15 lines
537 B
Python
15 lines
537 B
Python
from .embed import PatchEmbed
|
|
from .inverted_residual import InvertedResidual, InvertedResidualV3
|
|
from .make_divisible import make_divisible
|
|
from .res_layer import ResLayer
|
|
from .se_layer import SELayer
|
|
from .self_attention_block import SelfAttentionBlock
|
|
from .shape_convert import nchw_to_nlc, nlc_to_nchw
|
|
from .up_conv_block import UpConvBlock
|
|
|
|
__all__ = [
|
|
'ResLayer', 'SelfAttentionBlock', 'make_divisible', 'InvertedResidual',
|
|
'UpConvBlock', 'InvertedResidualV3', 'SELayer', 'PatchEmbed',
|
|
'nchw_to_nlc', 'nlc_to_nchw'
|
|
]
|