1、安裝TensorFlow 2.1.0、cuda10.1、cudnn7.6.5
參見:https://www.cnblogs.com/zhengbiqing/p/12554992.html
2、安裝pycocotools
參見:https://www.cnblogs.com/zhengbiqing/p/12552775.html
3、下載預訓練模型:
https://storage.googleapis.com/cloud-tpu-checkpoints/efficientdet/coco/efficientdet-d6.tar.gz
4、識別一張圖片:
打開命令行,執行:
SET PYTHONPATH=.
python model_inspect.py --runmode=infer --model_name=efficientdet-d6 --ckpt_path=E:\efficientdet-d6\efficientdet-d6\ --input_image=E:\efficientDect\bird.jpg --output_image_dir=E:\
識別結果:

