Commit Graph

8 Commits (b39fbd97303574a77f6acaed923fad41c781691c)

Author SHA1 Message Date
Zaida Zhou 444862746d
[Refactor] Search remote package metadata from PyPI rather than Github (#168)
* [Refactor] Search remote package from PyPI

* fix format

* fix ut

* minor refine
2023-01-18 14:46:58 +08:00
yancong d84cf6e79c
Support mim train / test / gridsearch in OpenMMLab-2.0 (#160)
* Suport openmmlab-2.0 with the following features:

- import Config from mmengine
- remove extra options for train / test / gridsearch
- create destination directory if dose not exists in `mim donwload`
- add mmengine in `mim list`

* fix ci with the following 2 problems:
- mmcv2.x have not pre-built package for torch1.5.
- patch xxx not found after install (cause by importlib.reload).

* Update mim/commands/download.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* dev(download): remove echo line

* support openmmlab 1.0 and 2.0

* use tests/data/lenet5_mnist_2.0.py in test case

* use tests/data/lenet5_mnist_2.0.py in test case

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-09-23 19:16:40 +08:00
yancong xiao 77f5866a67
[Chore] Fix the issue that the click version is locked at 7.x (#127)
* fix the issue that the click version is locked at 7.x

* add .vscode into .gitignore

* fix the issue that the click version is locked at 7.x

* add .vscode into .gitignore

* refine(click/compat.py): remove helper function

* chore(ci): add click<8.0.0 tests in ci

* refine(commands): refine imports

* commit suggestion(mim/click/option.py): refine doc comments.

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* commit suggestion(mim/click/compat.py): add typing hint

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* commit suggestion(mim/click/compat.py): add line comment

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* commit suggestion(mim/click/compat.py): add typing hit in doc comment

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* update(click/compat.py): add typing hint

* tests(tests/test_search): add a simple functional test for OptionEatAll

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-06-16 15:55:21 +08:00
Zaida Zhou 695f2af0e4
[Fix] Fix and refactor unit tests (#128)
* fix and refactor unit tests

* Fix GPG key error in CI

* use container provided by pytorch

* install git in container

* install git in container

* fix ci

* update pip version

* install system dependencies

* add test data

* add circleci

* add test data

* refine ut
2022-06-14 00:02:58 +08:00
Zaida Zhou c5025ef069
Add copyright pre-commit-hook (#105) 2022-02-23 22:20:01 +08:00
Zaida Zhou 27fad951d0
[Fix] Fix error when searching mmsegmentation (#52)
* fix error when searching mmsegmentation

* fix bug when searching metadata from  remote package

* update

* fix typo

* fix
2021-07-24 11:48:22 +08:00
Zaida Zhou 0a1ffd3c1c
[Fix] Fix filename of model zoo and output of search command (#53)
* fix filename of model zoo

* add comment

* fix install

* update search cmd

* update search command

* fix model zoo

* format output

* update readem

* fix typo

* reset display_width

* fix typo

* support substring match

* simply _filter_field
2021-07-21 14:03:30 +08:00
zhouzaida e3dad73e5e [Feature] Add install uninstall list search download command 2021-05-19 22:56:54 +08:00