[Feature] add base dataset (#32)
* basedataset first commit * add base dataset * add dataset * add basedataset * Fix test dataset * Fix mypy and test * Fix mypy and test * remove unused code * Update mmengine/dataset/base_dataset.py Co-authored-by:Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmengine/dataset/base_dataset.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * add more corner cases in unittest * fix lint * Fix as comment * Fix lint * update unitest * Type hint Dick to dict * rename max_refetch * Fix as comment * Fix typo * Fix as comment * BaseDataset is no more an abstrac Class, change UT and docs * Fix as comment * Fix as comment and refactor type error * Add comment for full init * Fix as comment and modify dataset_wrapper * Fix as comment and modify dataset_wrapper * Fix as comment * Fix as comment * Fix as comment * Fix as comment * Fix as comment * Fix as comment * Fix as comment Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Tao Gong <gongtao950513@gmail.com>
Showing
- docs/zh_cn/tutorials/basedataset.md 2 additions, 4 deletionsdocs/zh_cn/tutorials/basedataset.md
- mmengine/__init__.py 1 addition, 0 deletionsmmengine/__init__.py
- mmengine/dataset/__init__.py 4 additions, 0 deletionsmmengine/dataset/__init__.py
- mmengine/dataset/base_dataset.py 553 additions, 0 deletionsmmengine/dataset/base_dataset.py
- mmengine/dataset/dataset_wrapper.py 364 additions, 0 deletionsmmengine/dataset/dataset_wrapper.py
- tests/data/annotations/annotation_wrong_format.json 5 additions, 0 deletionstests/data/annotations/annotation_wrong_format.json
- tests/data/annotations/annotation_wrong_keys.json 0 additions, 0 deletionstests/data/annotations/annotation_wrong_keys.json
- tests/data/annotations/dummy_annotation.json 2 additions, 1 deletiontests/data/annotations/dummy_annotation.json
- tests/data/meta/classes.txt 1 addition, 0 deletionstests/data/meta/classes.txt
- tests/test_data/test_base_dataset.py 336 additions, 68 deletionstests/test_data/test_base_dataset.py
Loading
Please register or sign in to comment