mirror of
https://github.com/open-mmlab/mmpretrain.git
synced 2025-06-03 14:59:18 +08:00
* add dataset converters and benchmark .sh * refine * fix lint * add tsne * rename visualizaition * update configs and script
17 lines
230 B
Bash
17 lines
230 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
|
|
CFG=$1
|
|
CHECKPOINT=$2
|
|
GPUS=$3
|
|
PY_ARGS=${@:4}
|
|
|
|
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
|
|
mim test mmseg \
|
|
$CFG \
|
|
--checkpoint $CHECKPOINT \
|
|
--launcher pytorch \
|
|
-G $GPUS \
|
|
$PY_ARGS
|