@@ -289,6 +289,76 @@ if [ ${DATASET} == "refcoco-val" ]; then
289
289
eval/refcoco/evaluate_grounding.py --checkpoint ${CHECKPOINT} --datasets refcoco_val " ${ARGS[@]: 2} "
290
290
fi
291
291
292
+ if [ ${DATASET} == " refcoco-testA" ]; then
293
+ torchrun \
294
+ --nnodes=1 \
295
+ --node_rank=0 \
296
+ --master_addr=127.0.0.1 \
297
+ --nproc_per_node=${GPUS} \
298
+ --master_port=${MASTER_PORT} \
299
+ eval/refcoco/evaluate_grounding.py --checkpoint ${CHECKPOINT} --datasets refcoco_testA " ${ARGS[@]: 2} "
300
+ fi
301
+
302
+ if [ ${DATASET} == " refcoco-testB" ]; then
303
+ torchrun \
304
+ --nnodes=1 \
305
+ --node_rank=0 \
306
+ --master_addr=127.0.0.1 \
307
+ --nproc_per_node=${GPUS} \
308
+ --master_port=${MASTER_PORT} \
309
+ eval/refcoco/evaluate_grounding.py --checkpoint ${CHECKPOINT} --datasets refcoco_testB " ${ARGS[@]: 2} "
310
+ fi
311
+
312
+ if [ ${DATASET} == " refcoco+-val" ]; then
313
+ torchrun \
314
+ --nnodes=1 \
315
+ --node_rank=0 \
316
+ --master_addr=127.0.0.1 \
317
+ --nproc_per_node=${GPUS} \
318
+ --master_port=${MASTER_PORT} \
319
+ eval/refcoco/evaluate_grounding.py --checkpoint ${CHECKPOINT} --datasets refcoco+_val " ${ARGS[@]: 2} "
320
+ fi
321
+
322
+ if [ ${DATASET} == " refcoco+-testA" ]; then
323
+ torchrun \
324
+ --nnodes=1 \
325
+ --node_rank=0 \
326
+ --master_addr=127.0.0.1 \
327
+ --nproc_per_node=${GPUS} \
328
+ --master_port=${MASTER_PORT} \
329
+ eval/refcoco/evaluate_grounding.py --checkpoint ${CHECKPOINT} --datasets refcoco+_testA " ${ARGS[@]: 2} "
330
+ fi
331
+
332
+ if [ ${DATASET} == " refcoco+-testB" ]; then
333
+ torchrun \
334
+ --nnodes=1 \
335
+ --node_rank=0 \
336
+ --master_addr=127.0.0.1 \
337
+ --nproc_per_node=${GPUS} \
338
+ --master_port=${MASTER_PORT} \
339
+ eval/refcoco/evaluate_grounding.py --checkpoint ${CHECKPOINT} --datasets refcoco+_testB " ${ARGS[@]: 2} "
340
+ fi
341
+
342
+ if [ ${DATASET} == " refcocog-val" ]; then
343
+ torchrun \
344
+ --nnodes=1 \
345
+ --node_rank=0 \
346
+ --master_addr=127.0.0.1 \
347
+ --nproc_per_node=${GPUS} \
348
+ --master_port=${MASTER_PORT} \
349
+ eval/refcoco/evaluate_grounding.py --checkpoint ${CHECKPOINT} --datasets refcocog_val " ${ARGS[@]: 2} "
350
+ fi
351
+
352
+ if [ ${DATASET} == " refcocog-test" ]; then
353
+ torchrun \
354
+ --nnodes=1 \
355
+ --node_rank=0 \
356
+ --master_addr=127.0.0.1 \
357
+ --nproc_per_node=${GPUS} \
358
+ --master_port=${MASTER_PORT} \
359
+ eval/refcoco/evaluate_grounding.py --checkpoint ${CHECKPOINT} --datasets refcocog_test " ${ARGS[@]: 2} "
360
+ fi
361
+
292
362
if [ ${DATASET} == " llava-bench" ]; then
293
363
rm -rf results/llava_bench_results_review.jsonl
294
364
python eval/llava_bench/evaluate_llava_bench.py --checkpoint ${CHECKPOINT} " ${ARGS[@]: 2} "
0 commit comments