Skip to content

Instantly share code, notes, and snippets.

@YimianDai
Last active September 6, 2019 16:48
Show Gist options
  • Save YimianDai/850cca7939b7dd2b9a15935f5728ad80 to your computer and use it in GitHub Desktop.
Save YimianDai/850cca7939b7dd2b9a15935f5728ad80 to your computer and use it in GitHub Desktop.
eval_ssd.py
  • parse_args
    • data-shape: 默认是 300,这个数值在 Evaluation 中会影响 net_name 和 SSDDefaultValTransform 里面的 imresize 也就是 Eval 图像的大小
  • get_dataset
  • get_dataloader
  • benchmarking
  • validate
  • __main__

Eval Script

$ python eval_tiny_ssd.py --network vgg16_atrous --data-shape 300 --dataset custom --num-gpus 2 

自己的 model

$ python eval_tiny_ssd.py --pretrained false --gpus 0,1 --split mini_test --nms-thresh 0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment