mmpretrain/tests/test_engine/test_hooks
zzc98 693596bc2f
[Feature] Add Base Retriever and Image2Image Retriever for retrieval tasks. (#1055)
* feat: add image retriever

* feat: add image retriever

* feat: add image retriever

* feat: add image retriever

* feat: add image retriever

* feat: add image retriever

* feat: add image retriever

* feat: add image retriever

* feat: add image retriever

* update retriever

* fix lint

* add hook unit test

* Use `register_buffer` to save prototype vectors and add a progress bar
during preparing prototype.

* update UTs

* update UTs

* fix typo

* modify the hook

Co-authored-by: Ezra-Yu <18586273+Ezra-Yu@users.noreply.github.com>
Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-02 17:43:56 +08:00
..
test_class_num_check_hook.py refactor UTs 2022-07-18 11:11:13 +08:00
test_precise_bn_hook.py [CI] Update circle-ci and github workflow. (#1018) 2022-09-13 11:46:15 +08:00
test_retrievers_hooks.py [Feature] Add Base Retriever and Image2Image Retriever for retrieval tasks. (#1055) 2022-11-02 17:43:56 +08:00
test_visualization_hook.py [Refactor] Refactor the data flow. (#989) 2022-08-26 10:40:43 +08:00