Commit Graph

126 Commits (77f5866a67ce792955225aa1acfafce526268e93)
 

Author SHA1 Message Date
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
Ye Liu eb5c5c67ff
Fix mmaction2 package name and run script (#113)
* Fix mmaction2 package name and run script

* Update customcommand.py
2022-06-14 12:34:51 +08:00
Zaida Zhou d8f00ed895
Add pyupgrade and codespell pre-commit hooks (#130)
* Add pyupgrade and codespell pre-commit hooks

* minor fix
2022-06-14 12:32:59 +08:00
Jiazhen Wang 945a565ba4
add windows ci (#106) 2022-06-14 10:00:57 +08:00
Zaida Zhou 82ad74333b
bump version to v0.1.6 (#129) 2022-06-14 09:33: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
Anton Cherepkov cd3b38d75f
mim install does not work with pip >= 22.1 (#117)
* get rid of --use-feature=in-tree-build from pip22.1

* fix long line

Co-authored-by: Anton Cherepkov <anton.cherepkov@checklens.ai>
2022-06-13 17:55:53 +08:00
yancong xiao 7b9697f8ca
Use mdformat pre-commit hook (#126)
Co-authored-by: yancong <xyancong@qq.com>
2022-06-13 14:06:35 +08:00
Zaida Zhou 28dce468a9
[Fix] Fix search error when models miss the results field (#104)
* update setup.cfg

* fix gridsearch

* refine comments

* refine comments
2022-03-20 22:06:09 +08:00
Zaida Zhou 0f8589dfd5
[Fix] Get the version of CUDA properly (#96) 2022-03-17 09:56:12 +08:00
Mashiro faf51cb3d3
Reorganizing OpenMMLab projects in readme (#107)
* reorgnize readme

* add mmcv
2022-02-25 16:51:06 +08:00
Zaida Zhou c5025ef069
Add copyright pre-commit-hook (#105) 2022-02-23 22:20:01 +08:00
Zaida Zhou d2d2bafd2e
Upgrade the version of isort (#103) 2022-02-23 22:09:27 +08:00
Zaida Zhou 4b27a58606
[Docs] Add the link of mmdeploy (#99) 2022-02-23 21:52:28 +08:00
Zaida Zhou be720eeebb
[Fix] Fix the unit test of the download command (#95)
* [Fix] Fix the unit test of download command

* rename the name of config
2022-01-13 16:54:58 +08:00
Zaida Zhou d85de669b0
Add the link of mmrazor (#98) 2021-12-24 15:21:09 +08:00
Zaida Zhou 08a99cff03
[Docs] Refactor the structure of the documentation (#94)
* [Docs] Refactor the structure of documentation
2021-12-10 20:43:50 +08:00
Zaida Zhou 6b9be66bdb
[Docs] Use shared menu (#93)
* [Docs] Use shared menu

* fix typo

* delete logo
2021-12-10 10:50:50 +08:00
Haodong Duan 7d25759ead
Update gridsearch.py (#84) 2021-12-09 10:03:23 +08:00
Haodong Duan 10f3e61739
Update test_download.py (#85)
Fix Unittest of cifar download
2021-12-09 10:02:42 +08:00
Zaida Zhou 2ec36a90d7
use official markdownlint hook (#92) 2021-12-07 15:10:21 +08:00
Zaida Zhou de026a72ce
[Docs] Use pytorch sphinx theme (#89)
* use pytorch sphinx theme

* update readme

* fix yaml format

* change the log
2021-12-07 14:15:19 +08:00
Zaida Zhou 622cc8a7b1
cancel the outdated action (#91) 2021-12-07 13:15:57 +08:00
Zaida Zhou d234738f88
Skip CI when some specific files were changed (#90) 2021-12-07 13:09:26 +08:00
Zaida Zhou 62bd756d70
bump version to v0.1.5 (#83) 2021-09-07 22:52:14 +08:00
Haodong Duan 4f2b8ec454
[Fix] Fix #80 (#81)
* Fix #80

* Update utils.py

* update
2021-09-07 21:49:51 +08:00
Zaida Zhou dd97fdf226
[Enhancement] Support full match (#79) 2021-09-07 21:49:25 +08:00
Zaida Zhou c156e060ee
[Fix] Change the version of ubuntu from ubuntu-latest to ubuntu-18.04 in CI (#82) 2021-09-01 21:14:04 +08:00
Zaida Zhou 26f364fdde
bump version to v0.1.4 (#78) 2021-08-04 21:00:24 +08:00
Zaida Zhou b6ee8775a6
[Refactor] Speed the list command (#77)
* [Refactor] Speed the list command

* remove importlib_metadata

* rename var

* debug

* upgrade the setuptools in CI
2021-08-04 20:10:11 +08:00
Zaida Zhou 9fe8a75cb4
[Fix] Fix missing package directory error (#72)
* [Fix] Fix missing package directory error

* fix grammar

* fix comment

* fix comment

* remove a comment for debug
2021-07-28 20:09:44 +08:00
Ma Zerun d70f9cf14b
[Fix] Fix searching path of config when invoking train, test and gridsearch command (#75)
* Add `followlinks` argument in `recursively_find`.

* When searching config, `pkg/.mim/configs`  is the default path to be searched if it exists.
2021-07-27 16:02:24 +08:00
Ma Zerun eb35cceb84
When use config file from codebase, use and show the realpath instead of the symbolic path.(#76) 2021-07-27 15:42:00 +08:00
Zaida Zhou db34eff15e
[Fix] Fix error of new feature if verison of pip is slow (#74) 2021-07-27 15:06:42 +08:00
Zaida Zhou a64cd64a88
bump version to v0.1.3 (#70) 2021-07-24 17:32:01 +08:00
Zaida Zhou acab45a6fa
[Refactor] Change resources directory to .mim (#68)
* [Enhancement] Change the directory of configs to be saved

* configs tools model-index.yml will be copied to .mim

* copy files to .mim if setup.py does not handle this

* simply list command

* remove redundant code

* remove redundant code

* modify according to comment
2021-07-24 17:27:21 +08:00
Zaida Zhou 0bd1f4d2dd
[Fix] Solving issues related to out-of-tree builds (#65)
* [Fix] Fix warning information when invoking pip install command

* add comment

* fix error
2021-07-24 15:08:11 +08:00
Zaida Zhou 34e0d56e75
[Enhancement] Enhance recursively find (#69) 2021-07-24 15:07:54 +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 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
Zaida Zhou 9c8e58cf63
Merge pull request #64 from zhouzaida/refactor-utils
[Refactor] Refactor some helper functions in utils.py
2021-07-23 19:26:52 +08:00
zhouzaida d07a72c144 update utils/__init__.py 2021-07-23 17:16:44 +08:00
zhouzaida dc91aa0456 [Refactor] Refactor utils.py helper function 2021-07-23 16:51:15 +08:00
Zaida Zhou 4c307b3804
Merge pull request #57 from kennymckormick/configurable-display-width
[Improvement] Make Display Width in Search Command Configurable
2021-07-21 21:28:14 +08:00
Kenny 9a369e27f0 update 2021-07-21 19:59:22 +08:00
Zaida Zhou fb4c1fba18
Merge pull request #61 from kennymckormick/update_github_cfg
[Improvement] Update GITHUB Config
2021-07-21 19:51:32 +08:00
Kenny cbb97c7fb4 fix typo 2021-07-21 19:34:12 +08:00
Kenny c161ef236a Merge branch 'main' of github.com:open-mmlab/mim into configurable-display-width 2021-07-21 19:25:45 +08:00
Kenny f6dc0c219b update 2021-07-21 19:22:24 +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