Commit Graph

5 Commits (d84cf6e79ceeee645be7bbf82ea9e3d4eba37491)

Author SHA1 Message Date
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
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 6f309bdd98
[Refactor] Refactor list cmd (#67)
* [Refactor] Refactor list cmd

* simply

* fix errror when getting home-pag from pypi

* fix unittet

* add unittest

* fix ci

* fix ci

* install wheel in CI to fix error

* refactor and add a decorator to make sure package has been installed

* rename function and add commnent for CI
2021-07-24 11:43:31 +08:00
zhouzaida e3dad73e5e [Feature] Add install uninstall list search download command 2021-05-19 22:56:54 +08:00