From 8f695163b5e14dfa7680fc5190fd74eac6362951 Mon Sep 17 00:00:00 2001 From: xmu-xiaoma666 <775629340@qq.com> Date: Sun, 10 Oct 2021 14:09:11 +0800 Subject: [PATCH] ConvMixer --- README.md | 96 +++++++++--------- {fightingcv => model}/.vscode/settings.json | 0 {fightingcv => model}/__init__.py | 0 .../__pycache__/__init__.cpython-36.pyc | Bin .../__pycache__/__init__.cpython-38.pyc | Bin {fightingcv => model}/analysis/Attention.md | 0 ...17\345\212\233\346\234\272\345\210\266.md" | 0 ...02\346\225\260\346\234\272\345\210\266.md" | 0 .../attention/A2Atttention.py | 0 {fightingcv => model}/attention/AFT.py | 0 {fightingcv => model}/attention/BAM.py | 0 {fightingcv => model}/attention/CBAM.py | 0 {fightingcv => model}/attention/CoAtNet.py | 0 .../attention/CoTAttention.py | 0 .../attention/CoordAttention.py | 0 {fightingcv => model}/attention/DANet.py | 0 .../attention/ECAAttention.py | 0 {fightingcv => model}/attention/EMSA.py | 0 .../attention/ExternalAttention.py | 0 .../attention/HaloAttention.py | 0 .../attention/MUSEAttention.py | 0 .../attention/MobileViTAttention.py | 0 .../attention/OutlookAttention.py | 0 {fightingcv => model}/attention/PSA.py | 0 .../attention/PolarizedSelfAttention.py | 0 .../attention/ResidualAttention.py | 0 .../attention/S2Attention.py | 0 .../attention/SEAttention.py | 0 {fightingcv => model}/attention/SGE.py | 0 .../attention/SKAttention.py | 0 .../attention/SelfAttention.py | 0 .../attention/ShuffleAttention.py | 0 .../attention/SimplifiedSelfAttention.py | 0 .../attention/TripletAttention.py | 0 {fightingcv => model}/attention/ViP.py | 0 .../__pycache__/A2Atttention.cpython-38.pyc | Bin .../attention/__pycache__/AFT.cpython-38.pyc | Bin .../attention/__pycache__/BAM.cpython-38.pyc | Bin .../attention/__pycache__/CBAM.cpython-38.pyc | Bin .../__pycache__/CoAtNet.cpython-38.pyc | Bin .../__pycache__/CoTAttention.cpython-36.pyc | Bin .../__pycache__/CoTAttention.cpython-38.pyc | Bin .../__pycache__/DANet.cpython-38.pyc | Bin .../__pycache__/ECAAttention.cpython-38.pyc | Bin .../attention/__pycache__/EMSA.cpython-38.pyc | Bin .../ExternalAttention.cpython-38.pyc | Bin .../__pycache__/HaloAttention.cpython-38.pyc | Bin .../__pycache__/MUSEAttention.cpython-38.pyc | Bin .../MobileViTAttention.cpython-36.pyc | Bin .../MobileViTAttention.cpython-38.pyc | Bin .../OutlookAttention.cpython-38.pyc | Bin .../attention/__pycache__/PSA.cpython-38.pyc | Bin .../PolarizedSelfAttention.cpython-38.pyc | Bin .../ResidualAttention.cpython-36.pyc | Bin .../__pycache__/S2Attention.cpython-36.pyc | Bin .../__pycache__/SEAttention.cpython-38.pyc | Bin .../attention/__pycache__/SGE.cpython-38.pyc | Bin .../__pycache__/SKAttention.cpython-38.pyc | Bin .../__pycache__/SelfAttention.cpython-38.pyc | Bin .../ShuffleAttention.cpython-38.pyc | Bin .../SimplifiedSelfAttention.cpython-38.pyc | Bin .../attention/__pycache__/ViP.cpython-38.pyc | Bin .../__pycache__/__init__.cpython-38.pyc | Bin .../__pycache__/gfnet.cpython-36.pyc | Bin {fightingcv => model}/attention/gfnet.py | 0 {fightingcv => model}/backbone/ConvMixer.py | 0 {fightingcv => model}/backbone/MobileViT.py | 0 .../__pycache__/ConvMixer.cpython-36.pyc | Bin .../__pycache__/MobileViT.cpython-38.pyc | Bin .../__pycache__/resnet.cpython-36.pyc | Bin .../__pycache__/resnext.cpython-36.pyc | Bin {fightingcv => model}/backbone/resnet.py | 0 {fightingcv => model}/backbone/resnext.py | 0 .../conv/DepthwiseSeparableConvolution.py | 0 {fightingcv => model}/conv/Involution.py | 0 {fightingcv => model}/conv/MBConv.py | 0 ...pthwiseSeparableConvolution.cpython-38.pyc | Bin .../__pycache__/Involution.cpython-38.pyc | Bin .../conv/__pycache__/MBConv.cpython-38.pyc | Bin .../conv/__pycache__/__init__.cpython-38.pyc | Bin {fightingcv => model}/img/A2.png | Bin {fightingcv => model}/img/AFT.jpg | Bin {fightingcv => model}/img/BAM.png | Bin {fightingcv => model}/img/CBAM1.png | Bin {fightingcv => model}/img/CBAM2.png | Bin {fightingcv => model}/img/CoT.png | Bin {fightingcv => model}/img/ConvMixer.png | Bin {fightingcv => model}/img/CoordAttention.png | Bin .../img/DepthwiseSeparableConv.png | Bin {fightingcv => model}/img/ECA.png | Bin {fightingcv => model}/img/EMSA.png | Bin .../img/External_Attention.png | Bin {fightingcv => model}/img/GFNet.jpg | Bin {fightingcv => model}/img/HaloNet.png | Bin {fightingcv => model}/img/Involution.png | Bin {fightingcv => model}/img/MBConv.jpg | Bin {fightingcv => model}/img/MUSE.png | Bin .../img/MobileViTAttention.png | Bin .../img/OutlookAttention.png | Bin {fightingcv => model}/img/PoSA.png | Bin {fightingcv => model}/img/ResAtt.png | Bin {fightingcv => model}/img/S2Attention.png | Bin {fightingcv => model}/img/SA.png | Bin {fightingcv => model}/img/SE.png | Bin {fightingcv => model}/img/SGE.png | Bin {fightingcv => model}/img/SK.png | Bin {fightingcv => model}/img/SSA.png | Bin .../img/ShuffleAttention.jpg | Bin {fightingcv => model}/img/ViP.png | Bin {fightingcv => model}/img/acnet.png | Bin {fightingcv => model}/img/danet.png | Bin {fightingcv => model}/img/ddb.png | Bin {fightingcv => model}/img/gMLP.jpg | Bin {fightingcv => model}/img/mlpmixer.png | Bin {fightingcv => model}/img/mobileViT.jpg | Bin {fightingcv => model}/img/psa.png | Bin {fightingcv => model}/img/repmlp.png | Bin {fightingcv => model}/img/repvgg.png | Bin {fightingcv => model}/img/resmlp.png | Bin {fightingcv => model}/img/resnet.png | Bin {fightingcv => model}/img/resnet2.jpg | Bin {fightingcv => model}/img/resnext.png | Bin {fightingcv => model}/img/sMLP.jpg | Bin {fightingcv => model}/img/triplet.png | Bin .../mlp/__pycache__/g_mlp.cpython-38.pyc | Bin .../mlp/__pycache__/mlp_mixer.cpython-38.pyc | Bin .../mlp/__pycache__/repmlp.cpython-38.pyc | Bin .../mlp/__pycache__/resmlp.cpython-38.pyc | Bin .../mlp/__pycache__/sMLP_block.cpython-36.pyc | Bin {fightingcv => model}/mlp/g_mlp.py | 0 {fightingcv => model}/mlp/mlp_mixer.py | 0 {fightingcv => model}/mlp/repmlp.py | 0 {fightingcv => model}/mlp/resmlp.py | 0 {fightingcv => model}/mlp/sMLP_block.py | 0 .../rep/__pycache__/acnet.cpython-38.pyc | Bin .../rep/__pycache__/ddb.cpython-38.pyc | Bin .../rep/__pycache__/repvgg.cpython-38.pyc | Bin {fightingcv => model}/rep/acnet.py | 0 {fightingcv => model}/rep/ddb.py | 0 {fightingcv => model}/rep/repvgg.py | 0 140 files changed, 48 insertions(+), 48 deletions(-) rename {fightingcv => model}/.vscode/settings.json (100%) rename {fightingcv => model}/__init__.py (100%) rename {fightingcv => model}/__pycache__/__init__.cpython-36.pyc (100%) rename {fightingcv => model}/__pycache__/__init__.cpython-38.pyc (100%) rename {fightingcv => model}/analysis/Attention.md (100%) rename "fightingcv/analysis/\346\263\250\346\204\217\345\212\233\346\234\272\345\210\266.md" => "model/analysis/\346\263\250\346\204\217\345\212\233\346\234\272\345\210\266.md" (100%) rename "fightingcv/analysis/\351\207\215\345\217\202\346\225\260\346\234\272\345\210\266.md" => "model/analysis/\351\207\215\345\217\202\346\225\260\346\234\272\345\210\266.md" (100%) rename {fightingcv => model}/attention/A2Atttention.py (100%) rename {fightingcv => model}/attention/AFT.py (100%) rename {fightingcv => model}/attention/BAM.py (100%) rename {fightingcv => model}/attention/CBAM.py (100%) rename {fightingcv => model}/attention/CoAtNet.py (100%) rename {fightingcv => model}/attention/CoTAttention.py (100%) rename {fightingcv => model}/attention/CoordAttention.py (100%) rename {fightingcv => model}/attention/DANet.py (100%) rename {fightingcv => model}/attention/ECAAttention.py (100%) rename {fightingcv => model}/attention/EMSA.py (100%) rename {fightingcv => model}/attention/ExternalAttention.py (100%) rename {fightingcv => model}/attention/HaloAttention.py (100%) rename {fightingcv => model}/attention/MUSEAttention.py (100%) rename {fightingcv => model}/attention/MobileViTAttention.py (100%) rename {fightingcv => model}/attention/OutlookAttention.py (100%) rename {fightingcv => model}/attention/PSA.py (100%) rename {fightingcv => model}/attention/PolarizedSelfAttention.py (100%) rename {fightingcv => model}/attention/ResidualAttention.py (100%) rename {fightingcv => model}/attention/S2Attention.py (100%) rename {fightingcv => model}/attention/SEAttention.py (100%) rename {fightingcv => model}/attention/SGE.py (100%) rename {fightingcv => model}/attention/SKAttention.py (100%) rename {fightingcv => model}/attention/SelfAttention.py (100%) rename {fightingcv => model}/attention/ShuffleAttention.py (100%) rename {fightingcv => model}/attention/SimplifiedSelfAttention.py (100%) rename {fightingcv => model}/attention/TripletAttention.py (100%) rename {fightingcv => model}/attention/ViP.py (100%) rename {fightingcv => model}/attention/__pycache__/A2Atttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/AFT.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/BAM.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/CBAM.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/CoAtNet.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/CoTAttention.cpython-36.pyc (100%) rename {fightingcv => model}/attention/__pycache__/CoTAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/DANet.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/ECAAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/EMSA.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/ExternalAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/HaloAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/MUSEAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/MobileViTAttention.cpython-36.pyc (100%) rename {fightingcv => model}/attention/__pycache__/MobileViTAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/OutlookAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/PSA.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/PolarizedSelfAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/ResidualAttention.cpython-36.pyc (100%) rename {fightingcv => model}/attention/__pycache__/S2Attention.cpython-36.pyc (100%) rename {fightingcv => model}/attention/__pycache__/SEAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/SGE.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/SKAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/SelfAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/ShuffleAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/SimplifiedSelfAttention.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/ViP.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/__init__.cpython-38.pyc (100%) rename {fightingcv => model}/attention/__pycache__/gfnet.cpython-36.pyc (100%) rename {fightingcv => model}/attention/gfnet.py (100%) rename {fightingcv => model}/backbone/ConvMixer.py (100%) rename {fightingcv => model}/backbone/MobileViT.py (100%) rename {fightingcv => model}/backbone/__pycache__/ConvMixer.cpython-36.pyc (100%) rename {fightingcv => model}/backbone/__pycache__/MobileViT.cpython-38.pyc (100%) rename {fightingcv => model}/backbone/__pycache__/resnet.cpython-36.pyc (100%) rename {fightingcv => model}/backbone/__pycache__/resnext.cpython-36.pyc (100%) rename {fightingcv => model}/backbone/resnet.py (100%) rename {fightingcv => model}/backbone/resnext.py (100%) rename {fightingcv => model}/conv/DepthwiseSeparableConvolution.py (100%) rename {fightingcv => model}/conv/Involution.py (100%) rename {fightingcv => model}/conv/MBConv.py (100%) rename {fightingcv => model}/conv/__pycache__/DepthwiseSeparableConvolution.cpython-38.pyc (100%) rename {fightingcv => model}/conv/__pycache__/Involution.cpython-38.pyc (100%) rename {fightingcv => model}/conv/__pycache__/MBConv.cpython-38.pyc (100%) rename {fightingcv => model}/conv/__pycache__/__init__.cpython-38.pyc (100%) rename {fightingcv => model}/img/A2.png (100%) rename {fightingcv => model}/img/AFT.jpg (100%) rename {fightingcv => model}/img/BAM.png (100%) rename {fightingcv => model}/img/CBAM1.png (100%) rename {fightingcv => model}/img/CBAM2.png (100%) rename {fightingcv => model}/img/CoT.png (100%) rename {fightingcv => model}/img/ConvMixer.png (100%) rename {fightingcv => model}/img/CoordAttention.png (100%) rename {fightingcv => model}/img/DepthwiseSeparableConv.png (100%) rename {fightingcv => model}/img/ECA.png (100%) rename {fightingcv => model}/img/EMSA.png (100%) rename {fightingcv => model}/img/External_Attention.png (100%) rename {fightingcv => model}/img/GFNet.jpg (100%) rename {fightingcv => model}/img/HaloNet.png (100%) rename {fightingcv => model}/img/Involution.png (100%) rename {fightingcv => model}/img/MBConv.jpg (100%) rename {fightingcv => model}/img/MUSE.png (100%) rename {fightingcv => model}/img/MobileViTAttention.png (100%) rename {fightingcv => model}/img/OutlookAttention.png (100%) rename {fightingcv => model}/img/PoSA.png (100%) rename {fightingcv => model}/img/ResAtt.png (100%) rename {fightingcv => model}/img/S2Attention.png (100%) rename {fightingcv => model}/img/SA.png (100%) rename {fightingcv => model}/img/SE.png (100%) rename {fightingcv => model}/img/SGE.png (100%) rename {fightingcv => model}/img/SK.png (100%) rename {fightingcv => model}/img/SSA.png (100%) rename {fightingcv => model}/img/ShuffleAttention.jpg (100%) rename {fightingcv => model}/img/ViP.png (100%) rename {fightingcv => model}/img/acnet.png (100%) rename {fightingcv => model}/img/danet.png (100%) rename {fightingcv => model}/img/ddb.png (100%) rename {fightingcv => model}/img/gMLP.jpg (100%) rename {fightingcv => model}/img/mlpmixer.png (100%) rename {fightingcv => model}/img/mobileViT.jpg (100%) rename {fightingcv => model}/img/psa.png (100%) rename {fightingcv => model}/img/repmlp.png (100%) rename {fightingcv => model}/img/repvgg.png (100%) rename {fightingcv => model}/img/resmlp.png (100%) rename {fightingcv => model}/img/resnet.png (100%) rename {fightingcv => model}/img/resnet2.jpg (100%) rename {fightingcv => model}/img/resnext.png (100%) rename {fightingcv => model}/img/sMLP.jpg (100%) rename {fightingcv => model}/img/triplet.png (100%) rename {fightingcv => model}/mlp/__pycache__/g_mlp.cpython-38.pyc (100%) rename {fightingcv => model}/mlp/__pycache__/mlp_mixer.cpython-38.pyc (100%) rename {fightingcv => model}/mlp/__pycache__/repmlp.cpython-38.pyc (100%) rename {fightingcv => model}/mlp/__pycache__/resmlp.cpython-38.pyc (100%) rename {fightingcv => model}/mlp/__pycache__/sMLP_block.cpython-36.pyc (100%) rename {fightingcv => model}/mlp/g_mlp.py (100%) rename {fightingcv => model}/mlp/mlp_mixer.py (100%) rename {fightingcv => model}/mlp/repmlp.py (100%) rename {fightingcv => model}/mlp/resmlp.py (100%) rename {fightingcv => model}/mlp/sMLP_block.py (100%) rename {fightingcv => model}/rep/__pycache__/acnet.cpython-38.pyc (100%) rename {fightingcv => model}/rep/__pycache__/ddb.cpython-38.pyc (100%) rename {fightingcv => model}/rep/__pycache__/repvgg.cpython-38.pyc (100%) rename {fightingcv => model}/rep/acnet.py (100%) rename {fightingcv => model}/rep/ddb.py (100%) rename {fightingcv => model}/rep/repvgg.py (100%) diff --git a/README.md b/README.md index 40c5dbe..8e0918b 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,7 @@ Hello,大家好,我是小马🚀🚀🚀 #### 1.3. Usage Code ```python -from fightingcv.attention.ExternalAttention import ExternalAttention +from model.attention.ExternalAttention import ExternalAttention import torch input=torch.randn(50,49,512) @@ -254,7 +254,7 @@ print(output.shape) #### 1.3. Usage Code ```python -from fightingcv.attention.SelfAttention import ScaledDotProductAttention +from model.attention.SelfAttention import ScaledDotProductAttention import torch input=torch.randn(50,49,512) @@ -274,7 +274,7 @@ print(output.shape) #### 3.3. Usage Code ```python -from fightingcv.attention.SimplifiedSelfAttention import SimplifiedScaledDotProductAttention +from model.attention.SimplifiedSelfAttention import SimplifiedScaledDotProductAttention import torch input=torch.randn(50,49,512) @@ -295,7 +295,7 @@ print(output.shape) #### 4.3. Usage Code ```python -from fightingcv.attention.SEAttention import SEAttention +from model.attention.SEAttention import SEAttention import torch input=torch.randn(50,512,7,7) @@ -316,7 +316,7 @@ print(output.shape) #### 5.3. Usage Code ```python -from fightingcv.attention.SKAttention import SKAttention +from model.attention.SKAttention import SKAttention import torch input=torch.randn(50,512,7,7) @@ -338,7 +338,7 @@ print(output.shape) #### 6.3. Usage Code ```python -from fightingcv.attention.CBAM import CBAMBlock +from model.attention.CBAM import CBAMBlock import torch input=torch.randn(50,512,7,7) @@ -360,7 +360,7 @@ print(output.shape) #### 7.3. Usage Code ```python -from fightingcv.attention.BAM import BAMBlock +from model.attention.BAM import BAMBlock import torch input=torch.randn(50,512,7,7) @@ -381,7 +381,7 @@ print(output.shape) #### 8.3. Usage Code ```python -from fightingcv.attention.ECAAttention import ECAAttention +from model.attention.ECAAttention import ECAAttention import torch input=torch.randn(50,512,7,7) @@ -402,7 +402,7 @@ print(output.shape) #### 9.3. Usage Code ```python -from fightingcv.attention.DANet import DAModule +from model.attention.DANet import DAModule import torch input=torch.randn(50,512,7,7) @@ -423,7 +423,7 @@ print(danet(input).shape) #### 10.3. Usage Code ```python -from fightingcv.attention.PSA import PSA +from model.attention.PSA import PSA import torch input=torch.randn(50,512,7,7) @@ -447,7 +447,7 @@ print(output.shape) #### 11.3. Usage Code ```python -from fightingcv.attention.EMSA import EMSA +from model.attention.EMSA import EMSA import torch from torch import nn from torch.nn import functional as F @@ -473,7 +473,7 @@ print(output.shape) #### 12.3. Usage Code ```python -from fightingcv.attention.ShuffleAttention import ShuffleAttention +from model.attention.ShuffleAttention import ShuffleAttention import torch from torch import nn from torch.nn import functional as F @@ -501,7 +501,7 @@ print(output.shape) #### 13.3. Usage Code ```python -from fightingcv.attention.MUSEAttention import MUSEAttention +from model.attention.MUSEAttention import MUSEAttention import torch from torch import nn from torch.nn import functional as F @@ -527,7 +527,7 @@ print(output.shape) #### 14.3. Usage Code ```python -from fightingcv.attention.SGE import SpatialGroupEnhance +from model.attention.SGE import SpatialGroupEnhance import torch from torch import nn from torch.nn import functional as F @@ -552,7 +552,7 @@ print(output.shape) #### 15.3. Usage Code ```python -from fightingcv.attention.A2Atttention import DoubleAttention +from model.attention.A2Atttention import DoubleAttention import torch from torch import nn from torch.nn import functional as F @@ -576,7 +576,7 @@ print(output.shape) #### 16.3. Usage Code ```python -from fightingcv.attention.AFT import AFT_FULL +from model.attention.AFT import AFT_FULL import torch from torch import nn from torch.nn import functional as F @@ -606,7 +606,7 @@ print(output.shape) #### 17.3. Usage Code ```python -from fightingcv.attention.OutlookAttention import OutlookAttention +from model.attention.OutlookAttention import OutlookAttention import torch from torch import nn from torch.nn import functional as F @@ -640,7 +640,7 @@ print(output.shape) #### 18.3. Usage Code ```python -from fightingcv.attention.ViP import WeightedPermuteMLP +from model.attention.ViP import WeightedPermuteMLP import torch from torch import nn from torch.nn import functional as F @@ -675,7 +675,7 @@ None #### 19.3. Usage Code ```python -from fightingcv.attention.CoAtNet import CoAtNet +from model.attention.CoAtNet import CoAtNet import torch from torch import nn from torch.nn import functional as F @@ -710,7 +710,7 @@ print(out.shape) #### 20.3. Usage Code ```python -from fightingcv.attention.HaloAttention import HaloAttention +from model.attention.HaloAttention import HaloAttention import torch from torch import nn from torch.nn import functional as F @@ -741,7 +741,7 @@ print(output.shape) #### 21.3. Usage Code ```python -from fightingcv.attention.PolarizedSelfAttention import ParallelPolarizedSelfAttention,SequentialPolarizedSelfAttention +from model.attention.PolarizedSelfAttention import ParallelPolarizedSelfAttention,SequentialPolarizedSelfAttention import torch from torch import nn from torch.nn import functional as F @@ -772,7 +772,7 @@ print(output.shape) #### 22.3. Usage Code ```python -from fightingcv.attention.CoTAttention import CoTAttention +from model.attention.CoTAttention import CoTAttention import torch from torch import nn from torch.nn import functional as F @@ -803,7 +803,7 @@ print(output.shape) #### 23.3. Usage Code ```python -from fightingcv.attention.ResidualAttention import ResidualAttention +from model.attention.ResidualAttention import ResidualAttention import torch from torch import nn from torch.nn import functional as F @@ -834,7 +834,7 @@ print(output.shape) #### 24.3. Usage Code ```python -from fightingcv.attention.S2Attention import S2Attention +from model.attention.S2Attention import S2Attention import torch from torch import nn from torch.nn import functional as F @@ -864,7 +864,7 @@ print(output.shape) #### 25.3. Usage Code - Implemented by [Wenliang Zhao (Author)](https://scholar.google.com/citations?user=lyPWvuEAAAAJ&hl=en) ```python -from fightingcv.attention.gfnet import GFNet +from model.attention.gfnet import GFNet import torch from torch import nn from torch.nn import functional as F @@ -892,7 +892,7 @@ print(out.shape) #### 26.3. Usage Code - Implemented by [digantamisra98](https://github.com/digantamisra98) ```python -from fightingcv.attention.TripletAttention import TripletAttention +from model.attention.TripletAttention import TripletAttention import torch from torch import nn from torch.nn import functional as F @@ -920,7 +920,7 @@ print(output.shape) #### 27.3. Usage Code - Implemented by [Andrew-Qibin](https://github.com/Andrew-Qibin) ```python -from fightingcv.attention.CoordAttention import CoordAtt +from model.attention.CoordAttention import CoordAtt import torch from torch import nn from torch.nn import functional as F @@ -951,7 +951,7 @@ print(output.shape) #### 28.3. Usage Code ```python -from fightingcv.attention.MobileViTAttention import MobileViTAttention +from model.attention.MobileViTAttention import MobileViTAttention import torch from torch import nn from torch.nn import functional as F @@ -990,7 +990,7 @@ if __name__ == '__main__': #### 1.3. Usage Code ```python -from fightingcv.backbone.resnet import ResNet50,ResNet101,ResNet152 +from model.backbone.resnet import ResNet50,ResNet101,ResNet152 import torch if __name__ == '__main__': input=torch.randn(50,3,224,224) @@ -1014,7 +1014,7 @@ if __name__ == '__main__': #### 2.3. Usage Code ```python -from fightingcv.backbone.resnext import ResNeXt50,ResNeXt101,ResNeXt152 +from model.backbone.resnext import ResNeXt50,ResNeXt101,ResNeXt152 import torch if __name__ == '__main__': @@ -1041,7 +1041,7 @@ if __name__ == '__main__': #### 3.3. Usage Code ```python -from fightingcv.backbone.MobileViT import * +from model.backbone.MobileViT import * import torch from torch import nn from torch.nn import functional as F @@ -1080,7 +1080,7 @@ if __name__ == '__main__': #### 4.3. Usage Code ```python -from fightingcv.backbone.ConvMixer import * +from model.backbone.ConvMixer import * import torch from torch import nn from torch.nn import functional as F @@ -1122,7 +1122,7 @@ if __name__ == '__main__': #### 1.3. Usage Code ```python -from fightingcv.mlp.repmlp import RepMLP +from model.mlp.repmlp import RepMLP import torch from torch import nn @@ -1164,7 +1164,7 @@ print(((deployout-out)**2).sum()) #### 2.3. Usage Code ```python -from fightingcv.mlp.mlp_mixer import MlpMixer +from model.mlp.mlp_mixer import MlpMixer import torch mlp_mixer=MlpMixer(num_classes=1000,num_blocks=10,patch_size=10,tokens_hidden_dim=32,channels_hidden_dim=1024,tokens_mlp_dim=16,channels_mlp_dim=1024) input=torch.randn(50,3,40,40) @@ -1183,7 +1183,7 @@ print(output.shape) #### 3.3. Usage Code ```python -from fightingcv.mlp.resmlp import ResMLP +from model.mlp.resmlp import ResMLP import torch input=torch.randn(50,3,14,14) @@ -1203,7 +1203,7 @@ print(out.shape) #the last dimention is class_num #### 4.3. Usage Code ```python -from fightingcv.mlp.g_mlp import gMLP +from model.mlp.g_mlp import gMLP import torch num_tokens=10000 @@ -1227,7 +1227,7 @@ print(output.shape) #### 5.3. Usage Code ```python -from fightingcv.mlp.sMLP_block import sMLPBlock +from model.mlp.sMLP_block import sMLPBlock import torch from torch import nn from torch.nn import functional as F @@ -1261,7 +1261,7 @@ if __name__ == '__main__': #### 1.3. Usage Code ```python -from fightingcv.rep.repvgg import RepBlock +from model.rep.repvgg import RepBlock import torch @@ -1288,7 +1288,7 @@ print(((out2-out)**2).sum()) #### 2.3. Usage Code ```python -from fightingcv.rep.acnet import ACNet +from model.rep.acnet import ACNet import torch from torch import nn @@ -1317,7 +1317,7 @@ print(((out2-out)**2).sum()) #### 2.3. Usage Code ##### 2.3.1 Transform I ```python -from fightingcv.rep.ddb import transI_conv_bn +from model.rep.ddb import transI_conv_bn import torch from torch import nn from torch.nn import functional as F @@ -1339,7 +1339,7 @@ print("difference:",((out2-out1)**2).sum().item()) ##### 2.3.2 Transform II ```python -from fightingcv.rep.ddb import transII_conv_branch +from model.rep.ddb import transII_conv_branch import torch from torch import nn from torch.nn import functional as F @@ -1361,7 +1361,7 @@ print("difference:",((out2-out1)**2).sum().item()) ##### 2.3.3 Transform III ```python -from fightingcv.rep.ddb import transIII_conv_sequential +from model.rep.ddb import transIII_conv_sequential import torch from torch import nn from torch.nn import functional as F @@ -1384,7 +1384,7 @@ print("difference:",((out2-out1)**2).sum().item()) ##### 2.3.4 Transform IV ```python -from fightingcv.rep.ddb import transIV_conv_concat +from model.rep.ddb import transIV_conv_concat import torch from torch import nn from torch.nn import functional as F @@ -1406,7 +1406,7 @@ print("difference:",((out2-out1)**2).sum().item()) ##### 2.3.5 Transform V ```python -from fightingcv.rep.ddb import transV_avg +from model.rep.ddb import transV_avg import torch from torch import nn from torch.nn import functional as F @@ -1425,7 +1425,7 @@ print("difference:",((out2-out1)**2).sum().item()) ##### 2.3.6 Transform VI ```python -from fightingcv.rep.ddb import transVI_conv_scale +from model.rep.ddb import transVI_conv_scale import torch from torch import nn from torch.nn import functional as F @@ -1469,7 +1469,7 @@ print("difference:",((out2-out1)**2).sum().item()) #### 1.3. Usage Code ```python -from fightingcv.conv.DepthwiseSeparableConvolution import DepthwiseSeparableConvolution +from model.conv.DepthwiseSeparableConvolution import DepthwiseSeparableConvolution import torch from torch import nn from torch.nn import functional as F @@ -1492,7 +1492,7 @@ print(out.shape) #### 2.3. Usage Code ```python -from fightingcv.conv.MBConv import MBConvBlock +from model.conv.MBConv import MBConvBlock import torch from torch import nn from torch.nn import functional as F @@ -1517,7 +1517,7 @@ print(out.shape) #### 3.3. Usage Code ```python -from fightingcv.conv.Involution import Involution +from model.conv.Involution import Involution import torch from torch import nn from torch.nn import functional as F diff --git a/fightingcv/.vscode/settings.json b/model/.vscode/settings.json similarity index 100% rename from fightingcv/.vscode/settings.json rename to model/.vscode/settings.json diff --git a/fightingcv/__init__.py b/model/__init__.py similarity index 100% rename from fightingcv/__init__.py rename to model/__init__.py diff --git a/fightingcv/__pycache__/__init__.cpython-36.pyc b/model/__pycache__/__init__.cpython-36.pyc similarity index 100% rename from fightingcv/__pycache__/__init__.cpython-36.pyc rename to model/__pycache__/__init__.cpython-36.pyc diff --git a/fightingcv/__pycache__/__init__.cpython-38.pyc b/model/__pycache__/__init__.cpython-38.pyc similarity index 100% rename from fightingcv/__pycache__/__init__.cpython-38.pyc rename to model/__pycache__/__init__.cpython-38.pyc diff --git a/fightingcv/analysis/Attention.md b/model/analysis/Attention.md similarity index 100% rename from fightingcv/analysis/Attention.md rename to model/analysis/Attention.md diff --git "a/fightingcv/analysis/\346\263\250\346\204\217\345\212\233\346\234\272\345\210\266.md" "b/model/analysis/\346\263\250\346\204\217\345\212\233\346\234\272\345\210\266.md" similarity index 100% rename from "fightingcv/analysis/\346\263\250\346\204\217\345\212\233\346\234\272\345\210\266.md" rename to "model/analysis/\346\263\250\346\204\217\345\212\233\346\234\272\345\210\266.md" diff --git "a/fightingcv/analysis/\351\207\215\345\217\202\346\225\260\346\234\272\345\210\266.md" "b/model/analysis/\351\207\215\345\217\202\346\225\260\346\234\272\345\210\266.md" similarity index 100% rename from "fightingcv/analysis/\351\207\215\345\217\202\346\225\260\346\234\272\345\210\266.md" rename to "model/analysis/\351\207\215\345\217\202\346\225\260\346\234\272\345\210\266.md" diff --git a/fightingcv/attention/A2Atttention.py b/model/attention/A2Atttention.py similarity index 100% rename from fightingcv/attention/A2Atttention.py rename to model/attention/A2Atttention.py diff --git a/fightingcv/attention/AFT.py b/model/attention/AFT.py similarity index 100% rename from fightingcv/attention/AFT.py rename to model/attention/AFT.py diff --git a/fightingcv/attention/BAM.py b/model/attention/BAM.py similarity index 100% rename from fightingcv/attention/BAM.py rename to model/attention/BAM.py diff --git a/fightingcv/attention/CBAM.py b/model/attention/CBAM.py similarity index 100% rename from fightingcv/attention/CBAM.py rename to model/attention/CBAM.py diff --git a/fightingcv/attention/CoAtNet.py b/model/attention/CoAtNet.py similarity index 100% rename from fightingcv/attention/CoAtNet.py rename to model/attention/CoAtNet.py diff --git a/fightingcv/attention/CoTAttention.py b/model/attention/CoTAttention.py similarity index 100% rename from fightingcv/attention/CoTAttention.py rename to model/attention/CoTAttention.py diff --git a/fightingcv/attention/CoordAttention.py b/model/attention/CoordAttention.py similarity index 100% rename from fightingcv/attention/CoordAttention.py rename to model/attention/CoordAttention.py diff --git a/fightingcv/attention/DANet.py b/model/attention/DANet.py similarity index 100% rename from fightingcv/attention/DANet.py rename to model/attention/DANet.py diff --git a/fightingcv/attention/ECAAttention.py b/model/attention/ECAAttention.py similarity index 100% rename from fightingcv/attention/ECAAttention.py rename to model/attention/ECAAttention.py diff --git a/fightingcv/attention/EMSA.py b/model/attention/EMSA.py similarity index 100% rename from fightingcv/attention/EMSA.py rename to model/attention/EMSA.py diff --git a/fightingcv/attention/ExternalAttention.py b/model/attention/ExternalAttention.py similarity index 100% rename from fightingcv/attention/ExternalAttention.py rename to model/attention/ExternalAttention.py diff --git a/fightingcv/attention/HaloAttention.py b/model/attention/HaloAttention.py similarity index 100% rename from fightingcv/attention/HaloAttention.py rename to model/attention/HaloAttention.py diff --git a/fightingcv/attention/MUSEAttention.py b/model/attention/MUSEAttention.py similarity index 100% rename from fightingcv/attention/MUSEAttention.py rename to model/attention/MUSEAttention.py diff --git a/fightingcv/attention/MobileViTAttention.py b/model/attention/MobileViTAttention.py similarity index 100% rename from fightingcv/attention/MobileViTAttention.py rename to model/attention/MobileViTAttention.py diff --git a/fightingcv/attention/OutlookAttention.py b/model/attention/OutlookAttention.py similarity index 100% rename from fightingcv/attention/OutlookAttention.py rename to model/attention/OutlookAttention.py diff --git a/fightingcv/attention/PSA.py b/model/attention/PSA.py similarity index 100% rename from fightingcv/attention/PSA.py rename to model/attention/PSA.py diff --git a/fightingcv/attention/PolarizedSelfAttention.py b/model/attention/PolarizedSelfAttention.py similarity index 100% rename from fightingcv/attention/PolarizedSelfAttention.py rename to model/attention/PolarizedSelfAttention.py diff --git a/fightingcv/attention/ResidualAttention.py b/model/attention/ResidualAttention.py similarity index 100% rename from fightingcv/attention/ResidualAttention.py rename to model/attention/ResidualAttention.py diff --git a/fightingcv/attention/S2Attention.py b/model/attention/S2Attention.py similarity index 100% rename from fightingcv/attention/S2Attention.py rename to model/attention/S2Attention.py diff --git a/fightingcv/attention/SEAttention.py b/model/attention/SEAttention.py similarity index 100% rename from fightingcv/attention/SEAttention.py rename to model/attention/SEAttention.py diff --git a/fightingcv/attention/SGE.py b/model/attention/SGE.py similarity index 100% rename from fightingcv/attention/SGE.py rename to model/attention/SGE.py diff --git a/fightingcv/attention/SKAttention.py b/model/attention/SKAttention.py similarity index 100% rename from fightingcv/attention/SKAttention.py rename to model/attention/SKAttention.py diff --git a/fightingcv/attention/SelfAttention.py b/model/attention/SelfAttention.py similarity index 100% rename from fightingcv/attention/SelfAttention.py rename to model/attention/SelfAttention.py diff --git a/fightingcv/attention/ShuffleAttention.py b/model/attention/ShuffleAttention.py similarity index 100% rename from fightingcv/attention/ShuffleAttention.py rename to model/attention/ShuffleAttention.py diff --git a/fightingcv/attention/SimplifiedSelfAttention.py b/model/attention/SimplifiedSelfAttention.py similarity index 100% rename from fightingcv/attention/SimplifiedSelfAttention.py rename to model/attention/SimplifiedSelfAttention.py diff --git a/fightingcv/attention/TripletAttention.py b/model/attention/TripletAttention.py similarity index 100% rename from fightingcv/attention/TripletAttention.py rename to model/attention/TripletAttention.py diff --git a/fightingcv/attention/ViP.py b/model/attention/ViP.py similarity index 100% rename from fightingcv/attention/ViP.py rename to model/attention/ViP.py diff --git a/fightingcv/attention/__pycache__/A2Atttention.cpython-38.pyc b/model/attention/__pycache__/A2Atttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/A2Atttention.cpython-38.pyc rename to model/attention/__pycache__/A2Atttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/AFT.cpython-38.pyc b/model/attention/__pycache__/AFT.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/AFT.cpython-38.pyc rename to model/attention/__pycache__/AFT.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/BAM.cpython-38.pyc b/model/attention/__pycache__/BAM.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/BAM.cpython-38.pyc rename to model/attention/__pycache__/BAM.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/CBAM.cpython-38.pyc b/model/attention/__pycache__/CBAM.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/CBAM.cpython-38.pyc rename to model/attention/__pycache__/CBAM.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/CoAtNet.cpython-38.pyc b/model/attention/__pycache__/CoAtNet.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/CoAtNet.cpython-38.pyc rename to model/attention/__pycache__/CoAtNet.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/CoTAttention.cpython-36.pyc b/model/attention/__pycache__/CoTAttention.cpython-36.pyc similarity index 100% rename from fightingcv/attention/__pycache__/CoTAttention.cpython-36.pyc rename to model/attention/__pycache__/CoTAttention.cpython-36.pyc diff --git a/fightingcv/attention/__pycache__/CoTAttention.cpython-38.pyc b/model/attention/__pycache__/CoTAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/CoTAttention.cpython-38.pyc rename to model/attention/__pycache__/CoTAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/DANet.cpython-38.pyc b/model/attention/__pycache__/DANet.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/DANet.cpython-38.pyc rename to model/attention/__pycache__/DANet.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/ECAAttention.cpython-38.pyc b/model/attention/__pycache__/ECAAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/ECAAttention.cpython-38.pyc rename to model/attention/__pycache__/ECAAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/EMSA.cpython-38.pyc b/model/attention/__pycache__/EMSA.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/EMSA.cpython-38.pyc rename to model/attention/__pycache__/EMSA.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/ExternalAttention.cpython-38.pyc b/model/attention/__pycache__/ExternalAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/ExternalAttention.cpython-38.pyc rename to model/attention/__pycache__/ExternalAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/HaloAttention.cpython-38.pyc b/model/attention/__pycache__/HaloAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/HaloAttention.cpython-38.pyc rename to model/attention/__pycache__/HaloAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/MUSEAttention.cpython-38.pyc b/model/attention/__pycache__/MUSEAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/MUSEAttention.cpython-38.pyc rename to model/attention/__pycache__/MUSEAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/MobileViTAttention.cpython-36.pyc b/model/attention/__pycache__/MobileViTAttention.cpython-36.pyc similarity index 100% rename from fightingcv/attention/__pycache__/MobileViTAttention.cpython-36.pyc rename to model/attention/__pycache__/MobileViTAttention.cpython-36.pyc diff --git a/fightingcv/attention/__pycache__/MobileViTAttention.cpython-38.pyc b/model/attention/__pycache__/MobileViTAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/MobileViTAttention.cpython-38.pyc rename to model/attention/__pycache__/MobileViTAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/OutlookAttention.cpython-38.pyc b/model/attention/__pycache__/OutlookAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/OutlookAttention.cpython-38.pyc rename to model/attention/__pycache__/OutlookAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/PSA.cpython-38.pyc b/model/attention/__pycache__/PSA.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/PSA.cpython-38.pyc rename to model/attention/__pycache__/PSA.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/PolarizedSelfAttention.cpython-38.pyc b/model/attention/__pycache__/PolarizedSelfAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/PolarizedSelfAttention.cpython-38.pyc rename to model/attention/__pycache__/PolarizedSelfAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/ResidualAttention.cpython-36.pyc b/model/attention/__pycache__/ResidualAttention.cpython-36.pyc similarity index 100% rename from fightingcv/attention/__pycache__/ResidualAttention.cpython-36.pyc rename to model/attention/__pycache__/ResidualAttention.cpython-36.pyc diff --git a/fightingcv/attention/__pycache__/S2Attention.cpython-36.pyc b/model/attention/__pycache__/S2Attention.cpython-36.pyc similarity index 100% rename from fightingcv/attention/__pycache__/S2Attention.cpython-36.pyc rename to model/attention/__pycache__/S2Attention.cpython-36.pyc diff --git a/fightingcv/attention/__pycache__/SEAttention.cpython-38.pyc b/model/attention/__pycache__/SEAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/SEAttention.cpython-38.pyc rename to model/attention/__pycache__/SEAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/SGE.cpython-38.pyc b/model/attention/__pycache__/SGE.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/SGE.cpython-38.pyc rename to model/attention/__pycache__/SGE.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/SKAttention.cpython-38.pyc b/model/attention/__pycache__/SKAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/SKAttention.cpython-38.pyc rename to model/attention/__pycache__/SKAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/SelfAttention.cpython-38.pyc b/model/attention/__pycache__/SelfAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/SelfAttention.cpython-38.pyc rename to model/attention/__pycache__/SelfAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/ShuffleAttention.cpython-38.pyc b/model/attention/__pycache__/ShuffleAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/ShuffleAttention.cpython-38.pyc rename to model/attention/__pycache__/ShuffleAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/SimplifiedSelfAttention.cpython-38.pyc b/model/attention/__pycache__/SimplifiedSelfAttention.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/SimplifiedSelfAttention.cpython-38.pyc rename to model/attention/__pycache__/SimplifiedSelfAttention.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/ViP.cpython-38.pyc b/model/attention/__pycache__/ViP.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/ViP.cpython-38.pyc rename to model/attention/__pycache__/ViP.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/__init__.cpython-38.pyc b/model/attention/__pycache__/__init__.cpython-38.pyc similarity index 100% rename from fightingcv/attention/__pycache__/__init__.cpython-38.pyc rename to model/attention/__pycache__/__init__.cpython-38.pyc diff --git a/fightingcv/attention/__pycache__/gfnet.cpython-36.pyc b/model/attention/__pycache__/gfnet.cpython-36.pyc similarity index 100% rename from fightingcv/attention/__pycache__/gfnet.cpython-36.pyc rename to model/attention/__pycache__/gfnet.cpython-36.pyc diff --git a/fightingcv/attention/gfnet.py b/model/attention/gfnet.py similarity index 100% rename from fightingcv/attention/gfnet.py rename to model/attention/gfnet.py diff --git a/fightingcv/backbone/ConvMixer.py b/model/backbone/ConvMixer.py similarity index 100% rename from fightingcv/backbone/ConvMixer.py rename to model/backbone/ConvMixer.py diff --git a/fightingcv/backbone/MobileViT.py b/model/backbone/MobileViT.py similarity index 100% rename from fightingcv/backbone/MobileViT.py rename to model/backbone/MobileViT.py diff --git a/fightingcv/backbone/__pycache__/ConvMixer.cpython-36.pyc b/model/backbone/__pycache__/ConvMixer.cpython-36.pyc similarity index 100% rename from fightingcv/backbone/__pycache__/ConvMixer.cpython-36.pyc rename to model/backbone/__pycache__/ConvMixer.cpython-36.pyc diff --git a/fightingcv/backbone/__pycache__/MobileViT.cpython-38.pyc b/model/backbone/__pycache__/MobileViT.cpython-38.pyc similarity index 100% rename from fightingcv/backbone/__pycache__/MobileViT.cpython-38.pyc rename to model/backbone/__pycache__/MobileViT.cpython-38.pyc diff --git a/fightingcv/backbone/__pycache__/resnet.cpython-36.pyc b/model/backbone/__pycache__/resnet.cpython-36.pyc similarity index 100% rename from fightingcv/backbone/__pycache__/resnet.cpython-36.pyc rename to model/backbone/__pycache__/resnet.cpython-36.pyc diff --git a/fightingcv/backbone/__pycache__/resnext.cpython-36.pyc b/model/backbone/__pycache__/resnext.cpython-36.pyc similarity index 100% rename from fightingcv/backbone/__pycache__/resnext.cpython-36.pyc rename to model/backbone/__pycache__/resnext.cpython-36.pyc diff --git a/fightingcv/backbone/resnet.py b/model/backbone/resnet.py similarity index 100% rename from fightingcv/backbone/resnet.py rename to model/backbone/resnet.py diff --git a/fightingcv/backbone/resnext.py b/model/backbone/resnext.py similarity index 100% rename from fightingcv/backbone/resnext.py rename to model/backbone/resnext.py diff --git a/fightingcv/conv/DepthwiseSeparableConvolution.py b/model/conv/DepthwiseSeparableConvolution.py similarity index 100% rename from fightingcv/conv/DepthwiseSeparableConvolution.py rename to model/conv/DepthwiseSeparableConvolution.py diff --git a/fightingcv/conv/Involution.py b/model/conv/Involution.py similarity index 100% rename from fightingcv/conv/Involution.py rename to model/conv/Involution.py diff --git a/fightingcv/conv/MBConv.py b/model/conv/MBConv.py similarity index 100% rename from fightingcv/conv/MBConv.py rename to model/conv/MBConv.py diff --git a/fightingcv/conv/__pycache__/DepthwiseSeparableConvolution.cpython-38.pyc b/model/conv/__pycache__/DepthwiseSeparableConvolution.cpython-38.pyc similarity index 100% rename from fightingcv/conv/__pycache__/DepthwiseSeparableConvolution.cpython-38.pyc rename to model/conv/__pycache__/DepthwiseSeparableConvolution.cpython-38.pyc diff --git a/fightingcv/conv/__pycache__/Involution.cpython-38.pyc b/model/conv/__pycache__/Involution.cpython-38.pyc similarity index 100% rename from fightingcv/conv/__pycache__/Involution.cpython-38.pyc rename to model/conv/__pycache__/Involution.cpython-38.pyc diff --git a/fightingcv/conv/__pycache__/MBConv.cpython-38.pyc b/model/conv/__pycache__/MBConv.cpython-38.pyc similarity index 100% rename from fightingcv/conv/__pycache__/MBConv.cpython-38.pyc rename to model/conv/__pycache__/MBConv.cpython-38.pyc diff --git a/fightingcv/conv/__pycache__/__init__.cpython-38.pyc b/model/conv/__pycache__/__init__.cpython-38.pyc similarity index 100% rename from fightingcv/conv/__pycache__/__init__.cpython-38.pyc rename to model/conv/__pycache__/__init__.cpython-38.pyc diff --git a/fightingcv/img/A2.png b/model/img/A2.png similarity index 100% rename from fightingcv/img/A2.png rename to model/img/A2.png diff --git a/fightingcv/img/AFT.jpg b/model/img/AFT.jpg similarity index 100% rename from fightingcv/img/AFT.jpg rename to model/img/AFT.jpg diff --git a/fightingcv/img/BAM.png b/model/img/BAM.png similarity index 100% rename from fightingcv/img/BAM.png rename to model/img/BAM.png diff --git a/fightingcv/img/CBAM1.png b/model/img/CBAM1.png similarity index 100% rename from fightingcv/img/CBAM1.png rename to model/img/CBAM1.png diff --git a/fightingcv/img/CBAM2.png b/model/img/CBAM2.png similarity index 100% rename from fightingcv/img/CBAM2.png rename to model/img/CBAM2.png diff --git a/fightingcv/img/CoT.png b/model/img/CoT.png similarity index 100% rename from fightingcv/img/CoT.png rename to model/img/CoT.png diff --git a/fightingcv/img/ConvMixer.png b/model/img/ConvMixer.png similarity index 100% rename from fightingcv/img/ConvMixer.png rename to model/img/ConvMixer.png diff --git a/fightingcv/img/CoordAttention.png b/model/img/CoordAttention.png similarity index 100% rename from fightingcv/img/CoordAttention.png rename to model/img/CoordAttention.png diff --git a/fightingcv/img/DepthwiseSeparableConv.png b/model/img/DepthwiseSeparableConv.png similarity index 100% rename from fightingcv/img/DepthwiseSeparableConv.png rename to model/img/DepthwiseSeparableConv.png diff --git a/fightingcv/img/ECA.png b/model/img/ECA.png similarity index 100% rename from fightingcv/img/ECA.png rename to model/img/ECA.png diff --git a/fightingcv/img/EMSA.png b/model/img/EMSA.png similarity index 100% rename from fightingcv/img/EMSA.png rename to model/img/EMSA.png diff --git a/fightingcv/img/External_Attention.png b/model/img/External_Attention.png similarity index 100% rename from fightingcv/img/External_Attention.png rename to model/img/External_Attention.png diff --git a/fightingcv/img/GFNet.jpg b/model/img/GFNet.jpg similarity index 100% rename from fightingcv/img/GFNet.jpg rename to model/img/GFNet.jpg diff --git a/fightingcv/img/HaloNet.png b/model/img/HaloNet.png similarity index 100% rename from fightingcv/img/HaloNet.png rename to model/img/HaloNet.png diff --git a/fightingcv/img/Involution.png b/model/img/Involution.png similarity index 100% rename from fightingcv/img/Involution.png rename to model/img/Involution.png diff --git a/fightingcv/img/MBConv.jpg b/model/img/MBConv.jpg similarity index 100% rename from fightingcv/img/MBConv.jpg rename to model/img/MBConv.jpg diff --git a/fightingcv/img/MUSE.png b/model/img/MUSE.png similarity index 100% rename from fightingcv/img/MUSE.png rename to model/img/MUSE.png diff --git a/fightingcv/img/MobileViTAttention.png b/model/img/MobileViTAttention.png similarity index 100% rename from fightingcv/img/MobileViTAttention.png rename to model/img/MobileViTAttention.png diff --git a/fightingcv/img/OutlookAttention.png b/model/img/OutlookAttention.png similarity index 100% rename from fightingcv/img/OutlookAttention.png rename to model/img/OutlookAttention.png diff --git a/fightingcv/img/PoSA.png b/model/img/PoSA.png similarity index 100% rename from fightingcv/img/PoSA.png rename to model/img/PoSA.png diff --git a/fightingcv/img/ResAtt.png b/model/img/ResAtt.png similarity index 100% rename from fightingcv/img/ResAtt.png rename to model/img/ResAtt.png diff --git a/fightingcv/img/S2Attention.png b/model/img/S2Attention.png similarity index 100% rename from fightingcv/img/S2Attention.png rename to model/img/S2Attention.png diff --git a/fightingcv/img/SA.png b/model/img/SA.png similarity index 100% rename from fightingcv/img/SA.png rename to model/img/SA.png diff --git a/fightingcv/img/SE.png b/model/img/SE.png similarity index 100% rename from fightingcv/img/SE.png rename to model/img/SE.png diff --git a/fightingcv/img/SGE.png b/model/img/SGE.png similarity index 100% rename from fightingcv/img/SGE.png rename to model/img/SGE.png diff --git a/fightingcv/img/SK.png b/model/img/SK.png similarity index 100% rename from fightingcv/img/SK.png rename to model/img/SK.png diff --git a/fightingcv/img/SSA.png b/model/img/SSA.png similarity index 100% rename from fightingcv/img/SSA.png rename to model/img/SSA.png diff --git a/fightingcv/img/ShuffleAttention.jpg b/model/img/ShuffleAttention.jpg similarity index 100% rename from fightingcv/img/ShuffleAttention.jpg rename to model/img/ShuffleAttention.jpg diff --git a/fightingcv/img/ViP.png b/model/img/ViP.png similarity index 100% rename from fightingcv/img/ViP.png rename to model/img/ViP.png diff --git a/fightingcv/img/acnet.png b/model/img/acnet.png similarity index 100% rename from fightingcv/img/acnet.png rename to model/img/acnet.png diff --git a/fightingcv/img/danet.png b/model/img/danet.png similarity index 100% rename from fightingcv/img/danet.png rename to model/img/danet.png diff --git a/fightingcv/img/ddb.png b/model/img/ddb.png similarity index 100% rename from fightingcv/img/ddb.png rename to model/img/ddb.png diff --git a/fightingcv/img/gMLP.jpg b/model/img/gMLP.jpg similarity index 100% rename from fightingcv/img/gMLP.jpg rename to model/img/gMLP.jpg diff --git a/fightingcv/img/mlpmixer.png b/model/img/mlpmixer.png similarity index 100% rename from fightingcv/img/mlpmixer.png rename to model/img/mlpmixer.png diff --git a/fightingcv/img/mobileViT.jpg b/model/img/mobileViT.jpg similarity index 100% rename from fightingcv/img/mobileViT.jpg rename to model/img/mobileViT.jpg diff --git a/fightingcv/img/psa.png b/model/img/psa.png similarity index 100% rename from fightingcv/img/psa.png rename to model/img/psa.png diff --git a/fightingcv/img/repmlp.png b/model/img/repmlp.png similarity index 100% rename from fightingcv/img/repmlp.png rename to model/img/repmlp.png diff --git a/fightingcv/img/repvgg.png b/model/img/repvgg.png similarity index 100% rename from fightingcv/img/repvgg.png rename to model/img/repvgg.png diff --git a/fightingcv/img/resmlp.png b/model/img/resmlp.png similarity index 100% rename from fightingcv/img/resmlp.png rename to model/img/resmlp.png diff --git a/fightingcv/img/resnet.png b/model/img/resnet.png similarity index 100% rename from fightingcv/img/resnet.png rename to model/img/resnet.png diff --git a/fightingcv/img/resnet2.jpg b/model/img/resnet2.jpg similarity index 100% rename from fightingcv/img/resnet2.jpg rename to model/img/resnet2.jpg diff --git a/fightingcv/img/resnext.png b/model/img/resnext.png similarity index 100% rename from fightingcv/img/resnext.png rename to model/img/resnext.png diff --git a/fightingcv/img/sMLP.jpg b/model/img/sMLP.jpg similarity index 100% rename from fightingcv/img/sMLP.jpg rename to model/img/sMLP.jpg diff --git a/fightingcv/img/triplet.png b/model/img/triplet.png similarity index 100% rename from fightingcv/img/triplet.png rename to model/img/triplet.png diff --git a/fightingcv/mlp/__pycache__/g_mlp.cpython-38.pyc b/model/mlp/__pycache__/g_mlp.cpython-38.pyc similarity index 100% rename from fightingcv/mlp/__pycache__/g_mlp.cpython-38.pyc rename to model/mlp/__pycache__/g_mlp.cpython-38.pyc diff --git a/fightingcv/mlp/__pycache__/mlp_mixer.cpython-38.pyc b/model/mlp/__pycache__/mlp_mixer.cpython-38.pyc similarity index 100% rename from fightingcv/mlp/__pycache__/mlp_mixer.cpython-38.pyc rename to model/mlp/__pycache__/mlp_mixer.cpython-38.pyc diff --git a/fightingcv/mlp/__pycache__/repmlp.cpython-38.pyc b/model/mlp/__pycache__/repmlp.cpython-38.pyc similarity index 100% rename from fightingcv/mlp/__pycache__/repmlp.cpython-38.pyc rename to model/mlp/__pycache__/repmlp.cpython-38.pyc diff --git a/fightingcv/mlp/__pycache__/resmlp.cpython-38.pyc b/model/mlp/__pycache__/resmlp.cpython-38.pyc similarity index 100% rename from fightingcv/mlp/__pycache__/resmlp.cpython-38.pyc rename to model/mlp/__pycache__/resmlp.cpython-38.pyc diff --git a/fightingcv/mlp/__pycache__/sMLP_block.cpython-36.pyc b/model/mlp/__pycache__/sMLP_block.cpython-36.pyc similarity index 100% rename from fightingcv/mlp/__pycache__/sMLP_block.cpython-36.pyc rename to model/mlp/__pycache__/sMLP_block.cpython-36.pyc diff --git a/fightingcv/mlp/g_mlp.py b/model/mlp/g_mlp.py similarity index 100% rename from fightingcv/mlp/g_mlp.py rename to model/mlp/g_mlp.py diff --git a/fightingcv/mlp/mlp_mixer.py b/model/mlp/mlp_mixer.py similarity index 100% rename from fightingcv/mlp/mlp_mixer.py rename to model/mlp/mlp_mixer.py diff --git a/fightingcv/mlp/repmlp.py b/model/mlp/repmlp.py similarity index 100% rename from fightingcv/mlp/repmlp.py rename to model/mlp/repmlp.py diff --git a/fightingcv/mlp/resmlp.py b/model/mlp/resmlp.py similarity index 100% rename from fightingcv/mlp/resmlp.py rename to model/mlp/resmlp.py diff --git a/fightingcv/mlp/sMLP_block.py b/model/mlp/sMLP_block.py similarity index 100% rename from fightingcv/mlp/sMLP_block.py rename to model/mlp/sMLP_block.py diff --git a/fightingcv/rep/__pycache__/acnet.cpython-38.pyc b/model/rep/__pycache__/acnet.cpython-38.pyc similarity index 100% rename from fightingcv/rep/__pycache__/acnet.cpython-38.pyc rename to model/rep/__pycache__/acnet.cpython-38.pyc diff --git a/fightingcv/rep/__pycache__/ddb.cpython-38.pyc b/model/rep/__pycache__/ddb.cpython-38.pyc similarity index 100% rename from fightingcv/rep/__pycache__/ddb.cpython-38.pyc rename to model/rep/__pycache__/ddb.cpython-38.pyc diff --git a/fightingcv/rep/__pycache__/repvgg.cpython-38.pyc b/model/rep/__pycache__/repvgg.cpython-38.pyc similarity index 100% rename from fightingcv/rep/__pycache__/repvgg.cpython-38.pyc rename to model/rep/__pycache__/repvgg.cpython-38.pyc diff --git a/fightingcv/rep/acnet.py b/model/rep/acnet.py similarity index 100% rename from fightingcv/rep/acnet.py rename to model/rep/acnet.py diff --git a/fightingcv/rep/ddb.py b/model/rep/ddb.py similarity index 100% rename from fightingcv/rep/ddb.py rename to model/rep/ddb.py diff --git a/fightingcv/rep/repvgg.py b/model/rep/repvgg.py similarity index 100% rename from fightingcv/rep/repvgg.py rename to model/rep/repvgg.py