Advertisement

Win10利用detectron2的demo演示功能

阅读量:

Win10使用detectron2的demo进行测试

  1. 首先需要在demo文件夹中准备若干张用于测试的图片
  2. 我所采用的测试环境为Anaconda Prompt终端

1.进入detrctron2的虚拟环境

复制代码
    conda activate detectron2
    
    
      
    

2.进入detectron2的项目文件夹

复制代码
    L:
    cd L:\detectron2
    
    
      
      
    

3.切换到demo子文件夹

复制代码
    cd demo\
    
    
      
    

4.根据官方手册进行测试

Getting Started with Detectron2

复制代码
    python demo.py --config-file ../configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml --input input1.jpg --opts MODEL.

全部评论 (0)

还没有任何评论哟~