-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- models/GroundingDINO/ms_deform_attn.py: fixed ops error. - models/GroundingDINO/ops/test.py: do not test for large channles - main.py: add args to make eval not required training dataset - requirements.txt: update version - test_dist.sh: add test with torch.distributed.launch - README.md: update spec and slurm/dist usage
- Loading branch information
Showing
8 changed files
with
61 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
GPU_NUM=$1 | ||
CFG=$2 | ||
DATASETS=$3 | ||
OUTPUT_DIR=$4 | ||
NNODES=${NNODES:-1} | ||
NODE_RANK=${NODE_RANK:-0} | ||
PORT=${PORT:-29500} | ||
MASTER_ADDR=${MASTER_ADDR:-"127.0.0.1"} | ||
|
||
python -m torch.distributed.launch --nproc_per_node=${GPU_NUM} main.py \ | ||
--output_dir ${OUTPUT_DIR} \ | ||
--eval \ | ||
-c ${CFG} \ | ||
--datasets ${DATASETS} \ | ||
--pretrain_model_path ./weights/groundingdino_swint_ogc.pth \ | ||
--options text_encoder_type=./bert_weights/bert-base-uncased |
File renamed without changes.
File renamed without changes.