MIM Installs OpenMMLab packages
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install openmimMIM: MIM Installs OpenMMLab Packages
MIM provides a unified interface for launching and installing OpenMMLab projects and their extensions, and managing the OpenMMLab model zoo.
Major Features
-
Package Management
You can use MIM to manage OpenMMLab codebases, install or uninstall them conveniently.
-
Model Management
You can use MIM to manage OpenMMLab model zoo, e.g., download checkpoints by name, search checkpoints that meet specific criteria.
-
Unified Entrypoint for Scripts
You can execute any script provided by all OpenMMLab codebases with unified commands. Train, test and inference become easier than ever. Besides, you can use
gridsearchcommand for vanilla hyper-parameter search.
License
This project is released under the Apache 2.0 license.
Changelog
v0.1.1 was released in 13/6/2021.
Customization
You can use .mimrc for customization. Now we support customize default values of each sub-command. Please refer to customization.md for details.
Build custom projects with MIM
We provide some examples of how to build custom projects based on OpenMMLAB codebases and MIM in MIM-Example. Without worrying about copying codes and scripts from existing codebases, users can focus on developing new components and MIM helps integrate and run the new project.
Installation
Please refer to installation.md for installation.
Command
1. install
-
command
# install latest version of mmcv-full > mim install mmcv-full # wheel # install 1.5.0 > mim install mmcv-full==1.5.0 # install latest version of mmcls > mim install mmcls # install master branch > mim install git+https://github.com/open-mmlab/mmclassification.git # install local repo > git clone https://github.com/open-mmlab/mmclassification.git > cd mmclassification > mim install . # install extension based on OpenMMLab mim install git+https://github.com/xxx/mmcls-project.git