We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45b9b63 commit d4be265Copy full SHA for d4be265
dist_test.sh
@@ -0,0 +1,10 @@
1
+#!/usr/bin/env bash
2
+
3
+CONFIG=$1
4
+CHECKPOINT=$2
5
+GPUS=$3
6
+PORT=${PORT:-29500}
7
8
+PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
9
+python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \
10
+ det6/test.py $CONFIG $CHECKPOINT --launcher pytorch ${@:4}
dist_train.sh
@@ -0,0 +1,7 @@
+GPUS=$2
+ det6/train.py $CONFIG --launcher pytorch ${@:3}
0 commit comments