- Add enhanced README with project structure and quick start guide - Initialize repository with DCNv4 CUDA extension (PyTorch module) - Include classification, detection, and segmentation subdirectories - Reference upstream OpenGVLab DCNv4 implementation Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
10 lines
271 B
Bash
10 lines
271 B
Bash
#!/usr/bin/env bash
|
|
|
|
CONFIG=$1
|
|
CHECKPOINT=$2
|
|
GPUS=$3
|
|
PORT=${PORT:-29511}
|
|
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
|
|
python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \
|
|
$(dirname "$0")/test.py $CONFIG $CHECKPOINT --launcher pytorch ${@:4}
|