180 Commits

Author SHA1 Message Date
6V
b39fbd9730
[Fix] get version of CANN on Ascend NPU changed (#234) 2023-11-24 10:24:59 +08:00
6V
b40fe72e2f
[Fix] Delete version verification of CANN on Ascend NPU (#232) 2023-11-01 15:57:19 +08:00
Guoping Pan
c9a5ea6a88
[Experimental] Packaging a minimal and flatten algorithm from downstream repos (#229) 2023-10-31 11:08:16 +08:00
Yusuke Muramatsu
5d54183ef9
[Docs] Fix the examples of other_args (#209) 2023-10-23 11:02:37 +08:00
Yinlei Sun
8021d1b0eb
[Feature] Support downloading OpenMMLab projects on Ascend NPU (#228) 2023-10-23 10:58:34 +08:00
Zaida Zhou
bf69e00b6d
Bump version to 0.3.10 (#227) v0.3.10 2023-08-28 16:55:13 +08:00
Mashiro
30dc4fa9c0
[Enhance] Support download dataset from openxlab (#223) 2023-08-28 16:21:39 +08:00
Zaida Zhou
53536fc6a7
Bump version to 0.3.9 (#219) v0.3.9 2023-06-26 11:34:01 +08:00
Mashiro
bc5aec2abe
[Feature] Support donwloading datasets from opendatalab (#212) 2023-06-26 10:34:05 +08:00
Zaida Zhou
706cdc58b2
Bump version to v0.3.8 (#215) v0.3.8 2023-05-19 18:28:37 +08:00
Daniel Honies
3d742a9dac
[Fix] install command should call self.iter_provided_extras method (#213) 2023-05-19 17:07:52 +08:00
Zaida Zhou
2b495c9abd
[Docs] Update the Projects in OpenMMLab (#211)
* [Docs] Update the Projects in OpenMMLab

* update
2023-04-25 20:17:03 +08:00
Zaida Zhou
406e447bcd
Bump version to 0.3.7 (#206) v0.3.7 2023-03-21 19:08:06 +08:00
Ma Zerun
2a884557e1
Add MMPretrain to the PKG2PROJECT. (#205) 2023-03-21 19:06:04 +08:00
Range King
81b54d6836
Add missing repos in get_official_package (#202) 2023-02-22 10:59:50 +08:00
Kotaro Uetake
2a6adf55cb
fix a typo (#201)
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
2023-02-14 10:28:14 +08:00
yancong
dd7f11c679
Bump version to v0.3.6 (#200) v0.3.6 2023-02-04 11:43:16 +08:00
yancong
959f9c9e8c
[Fix] Fix AssertionError when importing pip before setuptools (#198)
* fix AssertionError when importing pip before setuptools

* refine comments
2023-02-04 11:41:49 +08:00
yancong
213f1b2235
Upgrade the version of isort to fix lint error (#199) 2023-02-04 00:07:41 +08:00
Hugo
231ffc73cb
Fix a typo in README.md (#197) 2023-01-28 14:20:53 +08:00
yancong
75c45590c8
Bump version to v0.3.5 (#196) v0.3.5 2023-01-18 15:08:13 +08:00
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
Junhwa Song
8fb7776ebe
[Enhance] Add support for sequence input in --search-args option (#195)
* Add support for sequence

* Add test code

* Fix

Co-authored-by: KKIEEK <kkieek@KKIEEKui-MacBookPro.local>
2023-01-17 20:26:50 +08:00
yancong
ff137ccd34
Bump version to v0.3.4 (#186) v0.3.4 2022-12-27 18:09:11 +08:00
yancong
72b31c0d7b
Deprecate distutils.version for removing warning info (#185) 2022-12-27 17:30:30 +08:00
kim3321
7293369781
[Enhancement] Add ignore-ssl option to disable the check certificate (#179)
* add ignore ssl certificate option

* add ignore ssl certificate option

* Reflect code review

Modify download command in Readme.md

* reflect code review

* refine docstring

* Add default value of check_certificate

* add ignorr certificate mode

* resolve bc issue

* add ignore certificate option

* add ignore certification option

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

* add ignore certificate option

Co-authored-by: kim3321 <eekjt@kaist.ac.kr>
Co-authored-by: yancong <xych6@outlook.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-24 19:11:28 +08:00
Range King
65e02d934f
[Enhancement] Support running scripts in demo dir (#178)
* Update run.py

* fix error
2022-12-24 11:46:26 +08:00
Hakjin Lee
244705cf03
[Enhance] Use sys.executable for calling Python (#181) 2022-12-23 17:04:19 +08:00
Range King
fae573e4ab
[Fix] Fix the path separator problem of run command on Windows (#177) 2022-12-20 10:46:30 +08:00
yancong
6d947416dd
Bump version to v0.3.3 (#175) v0.3.3 2022-11-09 17:08:17 +08:00
Range King
be3a1da986
Add mmyolo in PKG2PROJECT (#172)
add mmyolo
2022-11-07 14:00:07 +08:00
Range King
55557c8cb0
[Fix] Fix the punctuation display problem and the path separator problem on Windows (#166)
* Fix punctuations

* Fix the error of path separator on Windows
2022-10-21 11:23:13 +08:00
yancong
66ba337f16
Update pre-commit config (#167) 2022-10-18 19:31:52 +08:00
Suraj Pattar
8066832482
Refine error message to show how to install mmengine. (#161)
*  Split error msg in two lines.

*  Remove bracket.

*  Remove triple quotes.
2022-10-11 14:34:04 +08:00
yancong
ac0d104036
Bump version to v0.3.2 (#163) v0.3.2 2022-09-23 19:43:51 +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
ffaff8a4ec
Bump version to v0.3.1 (#159) v0.3.1 2022-09-05 10:59:56 +08:00
yancong
6b36c8e83c
[Feature] Support 'python -m mim' usage (#158)
* feat(mim): support 'python -m mim' usage

* feat(mim): add test mim cli test

* move mim cli test to build.yml
2022-09-03 10:13:42 +08:00
yancong
f9898422bf
Bump version to v0.3.0 (#156) v0.3.0 2022-09-01 11:43:42 +08:00
yancong
23e63429ae
use mmengine.Config instead of mmcv.Config (#155)
* use mmengine.Config instead of mmcv.Config

* install mmengine in CI

* fix mmengine install issue
2022-09-01 11:33:31 +08:00
Zaida Zhou
2d9e2da7c1
Bump version to v0.2.1 (#146) v0.2.1 2022-08-02 16:49:16 +08:00
yancong
5427b1a7c6
[Fix] Fix mim --version crash in click>=8.x (#152) 2022-08-02 14:23:35 +08:00
yancong
1266840d66
[Feat] Add MMCV_BASE_URL env variable to support customize mmcv find link (#148)
* feat(mim install): support specify MMCV_FIND_BASE_URL env variable

* refine(commands/install.py): add scheme and netloc check for mmcv_find_base_url

* fix(commands/install.py): add the missing f-string marker

* doc(commands/install.py): add line comment

* refine(commands/install.py): refine the output log

* refine(MMCV_BASE_URL): rename MMCV_FIND_BASE_URL to MMCV_BASE_URL
2022-07-06 23:35:02 +08:00
yancong
c869f7323d
[Docs] Fix wrong .mimrc example (#147) 2022-06-28 21:57:42 +08:00
Zaida Zhou
b46d2c9119
Fix packaging (#145)
* Fix packaging

* fix type hint
2022-06-27 22:44:44 +08:00
Zaida Zhou
b449e97c18
Bump version to v0.2.0 (#141) v0.2.0 2022-06-24 16:35:12 +08:00
Zaida Zhou
73053c1812
Update README (#142)
* Update README

* fix url
2022-06-24 16:34:30 +08:00
yancong xiao
eb0b8270a7
[Refactor] refactor mim uninstall (#135)
* refactor(commands/uninstall.py): refactor mim uninstall

* reload pip._vendor.pkg_resources before uninstall

* update(commands/uninstall.py): use subprocess call_command instead of create_command

* remove --root-user-action option

* update(commands/uninstall.py): use subprocess call_command instead of create_command

* update(commands/uninstall.py): support unknown options pass to pip uninstall

* tests(tests/test_uninstall.py): add test case for mim uninstall

* update(commands/uninstall.py): use the pip official recommend way to invoke pip uninstall

* refine(commands/uninstall.py): use isinstance instead of 'type is' make mypy happy

* combine commits: for ci debug

* combine commits: for ci debug

* Apply suggestions from code review

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

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-06-24 14:30:31 +08:00
Zaida Zhou
90d97cd2f7
Add beautiful progressbar (#139)
* Add beautiful progressbar

* minor refinement
2022-06-24 14:01:17 +08:00
Zaida Zhou
d2df7c8023
Add macOS ci (#138) 2022-06-23 19:20:04 +08:00