update docstring of run.py (#28)

pull/31/head
Haodong Duan 2021-06-01 12:15:03 +08:00 committed by GitHub
parent 34410d2498
commit 0c72b1b274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ from mim.utils import (
def cli(package: str, command: str, other_args: tuple = ()) -> None:
"""Run arbitrary command of a codebase.
Note if the command you call takes config files or checkpoint paths as
arguments, you must use paths that do exists. We do not accept URLs or
config names (like resnet101_b16x8_cifar10.py) if that doesn't exist under
your current directory.
Example:
\b