关于#环境配置#的问题,如何解决?

ubuntu系统已安装完pytorch,python和opencv
github环境配置要求

  1. Requirements

Required packages are listed in requirements.txt.

Note that an old version of OpenCV (3.4.2) is needed since the code uses SIFT module of OpenCV.

The code is tested using Python-3.7.3 with pytorch 1.3.0.

  1. Compile hard example mining functions
    shell script
    cd hard_mining
    python setup.py build_ext --inplace

  2. Compile extend utilities
    shell script
    cd utils/extend_utils
    python build_extend_utils_cffi.py