Skip to content

Commit

Permalink
add mindcv dir
Browse files Browse the repository at this point in the history
  • Loading branch information
IASZHT committed Aug 1, 2024
1 parent 68f82b0 commit 4d3d0fa
Show file tree
Hide file tree
Showing 3 changed files with 517 additions and 3 deletions.
256 changes: 256 additions & 0 deletions docs/en/reference/models.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,256 @@
# Models


## Create Model

### ::: mindcv.models.model_factory.create_model


## bit

### ::: mindcv.models.bit


## cait

### ::: mindcv.models.cait


## cmt

### ::: mindcv.models.cmt


## coat

### ::: mindcv.models.coat


## convit

### ::: mindcv.models.convit


## convnext

### ::: mindcv.models.convnext


## crossvit

### ::: mindcv.models.crossvit


## densenet

### ::: mindcv.models.densenet


## dpn

### ::: mindcv.models.dpn


## edgenext

### ::: mindcv.models.edgenext


## efficientnet

### ::: mindcv.models.efficientnet


## features

### ::: mindcv.models.features


## ghostnet

### ::: mindcv.models.ghostnet


## halonet

### ::: mindcv.models.halonet


## hrnet

### ::: mindcv.models.hrnet


## inceptionv3

### ::: mindcv.models.inceptionv3


## inceptionv4

### ::: mindcv.models.inceptionv4


## mae

### ::: mindcv.models.mae


## mixnet

### ::: mindcv.models.mixnet


## mlpmixer

### ::: mindcv.models.mlpmixer


## mnasnet

### ::: mindcv.models.mnasnet


## mobilenetv1

### ::: mindcv.models.mobilenetv1


## mobilenetv2

### ::: mindcv.models.mobilenetv2


## mobilenetv3

### ::: mindcv.models.mobilenetv3


## mobilevit

### ::: mindcv.models.mobilevit


## nasnet

### ::: mindcv.models.nasnet


## pit

### ::: mindcv.models.pit


## poolformer

### ::: mindcv.models.poolformer


## pvt

### ::: mindcv.models.pvt


## pvtv2

### ::: mindcv.models.pvtv2


## regnet

### ::: mindcv.models.regnet


## repmlp

### ::: mindcv.models.repmlp


## repvgg

### ::: mindcv.models.repvgg


## res2net

### ::: mindcv.models.res2net


## resnest

### ::: mindcv.models.resnest


## resnet

### ::: mindcv.models.resnet


## resnetv2

### ::: mindcv.models.resnetv2


## rexnet

### ::: mindcv.models.rexnet


## senet

### ::: mindcv.models.senet


## shufflenetv1

### ::: mindcv.models.shufflenetv1


## shufflenetv2

### ::: mindcv.models.shufflenetv2


## sknet

### ::: mindcv.models.sknet


## squeezenet

### ::: mindcv.models.squeezenet


## swintransformer

### ::: mindcv.models.swintransformer


## swintransformerv2

### ::: mindcv.models.swintransformerv2


## vgg

### ::: mindcv.models.vgg


## visformer

### ::: mindcv.models.visformer


## vit

### ::: mindcv.models.vit


## volo

### ::: mindcv.models.volo


## xcit

### ::: mindcv.models.xcit
8 changes: 5 additions & 3 deletions docs/gen_ref_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ def _gen_page(lang):
try:
print(f"\n\n## {parts[-1]}", file=fd)
identifier = ".".join(parts) # eg: mindcv.models.resnet
mod = importlib.import_module(identifier)
for mem in sorted(set(mod.__all__)):
print(f"\n### ::: {identifier}.{mem}", file=fd)
print(f"\n### ::: {identifier}", file=fd)
except Exception as err:
_logger.warning(f"Cannot generate reference of {identifier}, error: {err}.")

Expand All @@ -57,3 +55,7 @@ def on_startup(command, dirty):
def on_shutdown():
for lang in _langs:
_del_page(lang)


if __name__ == '__main__':
_gen_page('en')
Loading

0 comments on commit 4d3d0fa

Please sign in to comment.