-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [Docs] Refine API reference * Add PoolFormer
- Loading branch information
Showing
34 changed files
with
840 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.. role:: hidden | ||
:class: hidden-section | ||
.. currentmodule:: {{ module }} | ||
|
||
|
||
{{ name | underline}} | ||
|
||
.. autoclass:: {{ name }} | ||
:members: | ||
|
||
|
||
.. | ||
autogenerated from source/_templates/classtemplate.rst | ||
note it does not have :inherited-members: |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.. role:: hidden | ||
:class: hidden-section | ||
|
||
mmcls.apis | ||
=================================== | ||
|
||
These are some high-level APIs for classification tasks. | ||
|
||
.. contents:: mmcls.apis | ||
:depth: 2 | ||
:local: | ||
:backlinks: top | ||
|
||
.. currentmodule:: mmcls.apis | ||
|
||
Train | ||
------------------ | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
|
||
init_random_seed | ||
set_random_seed | ||
train_model | ||
|
||
Test | ||
------------------ | ||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
|
||
single_gpu_test | ||
multi_gpu_test | ||
|
||
Inference | ||
------------------ | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
|
||
init_model | ||
inference_model | ||
show_result_pyplot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
.. role:: hidden | ||
:class: hidden-section | ||
|
||
mmcls.core | ||
=================================== | ||
|
||
This package includes some runtime components. These components are useful in | ||
classification tasks but not supported by MMCV yet. | ||
|
||
.. note:: | ||
|
||
Some components may be moved to MMCV in the future. | ||
|
||
.. contents:: mmcls.core | ||
:depth: 2 | ||
:local: | ||
:backlinks: top | ||
|
||
.. currentmodule:: mmcls.core | ||
|
||
Evaluation | ||
------------------ | ||
|
||
Evaluation metrics calculation functions | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
|
||
precision | ||
recall | ||
f1_score | ||
precision_recall_f1 | ||
average_precision | ||
mAP | ||
support | ||
average_performance | ||
calculate_confusion_matrix | ||
|
||
Hook | ||
------------------ | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
ClassNumCheckHook | ||
PreciseBNHook | ||
CosineAnnealingCooldownLrUpdaterHook | ||
|
||
|
||
Optimizers | ||
------------------ | ||
|
||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
Lamb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.. role:: hidden | ||
:class: hidden-section | ||
|
||
mmcls.datasets | ||
=================================== | ||
|
||
The ``datasets`` package contains several usual datasets for image classification tasks and some dataset wrappers. | ||
|
||
.. currentmodule:: mmcls.datasets | ||
|
||
Custom Dataset | ||
-------------- | ||
|
||
.. autoclass:: CustomDataset | ||
|
||
ImageNet | ||
-------- | ||
|
||
.. autoclass:: ImageNet | ||
|
||
.. autoclass:: ImageNet21k | ||
|
||
CIFAR | ||
----- | ||
|
||
.. autoclass:: CIFAR10 | ||
|
||
.. autoclass:: CIFAR100 | ||
|
||
MNIST | ||
----- | ||
|
||
.. autoclass:: MNIST | ||
|
||
.. autoclass:: FashionMNIST | ||
|
||
VOC | ||
--- | ||
|
||
.. autoclass:: VOC | ||
|
||
Base classes | ||
------------ | ||
|
||
.. autoclass:: BaseDataset | ||
|
||
.. autoclass:: MultiLabelDataset | ||
|
||
Dataset Wrappers | ||
---------------- | ||
|
||
.. autoclass:: ConcatDataset | ||
|
||
.. autoclass:: RepeatDataset | ||
|
||
.. autoclass:: ClassBalancedDataset |
Oops, something went wrong.