* fix dataset wrapper bug and add unit tests
* fix dataset wrapper bug and add unit tests
* update unit tests
* fix lint
* align interface to mmdet
* update unit tests
* add pth converter
* minor update on config files, add metafile and readme
* add missing readme and minor fixes
* minor fixes
* Update config names and checkpoint download link
* Update model_zoo.md
Co-authored-by: mzr1996 <mzr1996@163.com>
* add cn tutorials/config.md
* add heads api and doc title link
* Update tutorials index
* Update tutorials index
* Update config.md
* add english version
* Update config.md
* add custom_runtime
* Update docs
* modify title
* modify en to zh_CN in chinses docs
* Update Readme
* fix punctuations
* Update docs/tutorials/customize_runtime.md
Co-authored-by: Ma Zerun <mzr1996@163.com>
* Update docs/tutorials/customize_runtime.md
Co-authored-by: Ma Zerun <mzr1996@163.com>
* split to schedule and runtime
* fix lint
* improve docs after review
* fix TOC
* imporve expersion
* fix an error
* Imporve schedule.md
* Improve runtime.md
* Improve chinese docs.
* Fix toc-tree
* fix en link and add a case of gradient clipping
* fix wrong word
Co-authored-by: Ma Zerun <mzr1996@163.com>
* refactor resize, test tobe done
* resize reimpl according to discussion; add pad
* minor fixes and add tests
* minor fixes on docstring
* add additional unit test
* reformat resize and pad
* revise code and docstr according to the comments
* [Fix] Analyze logs with single training iteration
* [Fix] Make `plot_curve` with 'accuracy' metric
* [Fix] Assert length of training log records of each epoch is larger than 1
Co-authored-by: Ma Zerun <mzr1996@163.com>
Co-authored-by: Ma Zerun <mzr1996@163.com>
* add vis lr
* add doc
* Update doc and rm load_json_log in analysis
* Update docs
* add unit tests and update docstring
* fix unit-tests
* Use DummyIterBasedRunner and DummyEpochBasedRunner to simulate training
process.
* rm function val and add judge
* update docs
* improve english expression
* Update docs/tools/visualization.md
Co-authored-by: Ma Zerun <mzr1996@163.com>
* fix typo and ImageNet datasize
* fix typo
* update example
Co-authored-by: mzr1996 <mzr1996@163.com>
* [Docs] Use docs link of other projects and add MMCV docs.
* Fix misused "document", and it should be "documentation"
* Fix uppercase
* Rename `Projects` to `Docs`.
* add imagnet21k
* Update unit test
* update imaenet21k
* use slots
* use slots
* rename Data_item to ImageInfo
* add unit tests
* Update unit tests
* rm some print
* update unit tests
* fix lint
* remove default value of pipeline
* remove DistSamplerSeedHook for IterBasedRunner
* Register DistSamplerSeedHook for EpochBasedRunner only
Co-authored-by: Ma Zerun <mzr1996@163.com>
Co-authored-by: Ma Zerun <mzr1996@163.com>
* add cn tutorials/config.md
* add heads api and doc title link
* Update tutorials index
* Update tutorials index
* Update config.md
* add english version
* Update config.md
* Update docs
* Update css
* Update docs/tutorials/config.md
Co-authored-by: Ma Zerun <mzr1996@163.com>
* Update docs_zh-CN/tutorials/config.md
Co-authored-by: Ma Zerun <mzr1996@163.com>
* modify according to suggestion
* Use GitHub style `code` css
* change some mmcv API link to CN version
* remove default in default_runtime
Co-authored-by: mzr1996 <mzr1996@163.com>
* Add Res2Net from mmdet, and change it to mmcls style.
* Align structure with official repo
* Support `deep_stem` and `avg_down` option
* Add Res2Net configs
* Add metafile&README and update model zoo
* Add unit tests
* Imporve docstring.
* Improve according to comments.
* [Squash] Refator ViT (from #295)
* Use base variable to simplify auto_aug setting
* Use common PatchEmbed, remove HybridEmbed and refactor ViT init
structure.
* Add `output_cls_token` option and change the output format of ViT and
input format of ViT head.
* Update unit tests and add test for `output_cls_token`.
* Support out_indices.
* Standardize config files
* Support resize position embedding.
* Add readme file of vit
* Rename config file
* Improve docs about ViT.
* Update docstring
* Use local version `MultiheadAttention` instead of mmcv version.
* Fix MultiheadAttention
* Support `qk_scale` argument in `MultiheadAttention`
* Improve docs and change `layer_cfg` to `layer_cfgs` and support
sequence.
* Use init_cfg to init Linear layer in VisionTransformerHead
* update metafile
* Update checkpoints and configs
* Imporve docstring.
* Update README
* Revert GAP modification.