美文网首页
centos配置YOLO v4环境(CPU)

centos配置YOLO v4环境(CPU)

作者: 科英 | 来源:发表于2020-07-20 18:09 被阅读0次

    1. 安装依赖

    • CMake >= 3.12
    yum install -y gcc gcc-c++ make automake wget openssl-devel
    
    wget https://github.com/Kitware/CMake/releases/download/v3.18.0/cmake-3.18.0.tar.gz
    
    tar -zxvf cmake-3.18.0.tar.gz
    
    cd cmake-3.18.0
    
    ./bootstrap
    
    gmake
    
    gmake install
    
    cmake --version 
    
    git clone https://github.com/AlexeyAB/darknet.git
    
    cd darkent
    
    sh build.sh
    

    Download yolov4.weights file: https://drive.google.com/open?id=1cewMfusmPjYWbrnuJRuKhPMwRe_b9PaT

    cp yolov4.weights darkent/
    
    ./darknet detector test ./cfg/coco.data ./cfg/yolov4.cfg ./yolov4.weights
    

    相关文章

      网友评论

          本文标题:centos配置YOLO v4环境(CPU)

          本文链接:https://www.haomeiwen.com/subject/edmykktx.html