Yixiao Fang 6db04339a6
[Community] Add './projects' folder and an example (#586)
* add projects folder and readme

* refine description

* fix lint

* update ci

* update

* refine docs
2022-11-23 20:42:31 +08:00

18 lines
477 B
Python

from mmselfsup.models import MAE
from mmselfsup.registry import MODELS
@MODELS.register_module()
class DummyMAE(MAE):
"""Implements a dummy wrapper for demonstration purpose.
Args:
**kwargs: All the arguments are passed to the parent class.
"""
def __init__(self, **kwargs) -> None:
print('*************************\n'
'* Welcome to MMSelfSup! *\n'
'*************************')
super().__init__(**kwargs)