Wangbo Zhao(黑色枷锁) 9ddef4f7d9
[Refactor] Modify documents of classification, detection and segmentation (#426)
* modify config files

* modify benchmark docs

* Update classification.md

* modify benchmark docs

* modify benchmark docs

* modify benchmark docs

* modify benchmark docs

* modify benchmark docs

* modify doc

* modify benchmark docs

* modify benchmark docs

* modify benchmark docs

* modify benchmark docs

* modify benchmark docs

* modify benchmark doc
2022-08-29 14:31:06 +08:00

18 lines
239 B
Bash

#!/usr/bin/env bash
set -x
CFG=$1
CHECKPOINT=$2
GPUS=${GPUS:-8}
PY_ARGS=${@:3}
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
mim test mmcls \
$CFG \
--checkpoint $CHECKPOINT \
--launcher pytorch \
-G $GPUS \
$PY_ARGS