PaddleClas/tools/eval.sh
littletomatodonkey 061d07cd91
refine tool dir (#827)
* refine tool dir
2021-06-11 12:17:56 +08:00

8 lines
262 B
Bash

#!/usr/bin/env bash
# for single card eval
# python3.7 tools/eval.py -c ./ppcls/configs/ImageNet/ResNet/ResNet50.yaml
# for multi-cards eval
python3.7 -m paddle.distributed.launch --gpus="0,1,2,3" tools/eval.py -c ./ppcls/configs/ImageNet/ResNet/ResNet50.yaml