"tools/infer_vqa_token_ser.py" did not exist on "1ded2ac44adb478f8209d469c626444948888e75"
val.sh 493 Bytes
Newer Older
chenych's avatar
chenych committed
1
2
3
#!/bin/bash
echo "Testing start ..."
export HIP_VISIBLE_DEVICES=1
chenych's avatar
chenych committed
4
5
export HSA_FORCE_FINE_GRAIN_PCIE=1
export USE_MIOPEN_BATCHNORM=1
chenych's avatar
chenych committed
6

chenych's avatar
chenych committed
7
8
# resume: 待测试模型地址
# coco_path: 训练数据集地址, 数据是coco format
chenych's avatar
update  
chenych committed
9
10
11
12
# dcu
# python main.py --batch_size 2 --no_aux_loss --eval --resume ./results/checkpoint.pth --coco_path /home/datasets/COCO2017
# ori
python main.py --batch_size 2 --no_aux_loss --eval --resume ./pretrained_model/detr-r50-e632da11.pth --coco_path /home/datasets/COCO2017