master branch
- ModuleNotFoundError: No module named ‘model.utils.cython_bbox’
lib文件夹没有编译导致,需要运行python setup.py build_ext --inplace
进行编译。
- model/utils/bbox.c:4:20: fatal error: Python.h: No such file or directory
编译过程中出错,搜索博客有两个方法
- 安装dev,运行后还是不行
sudo apt-get install python-dev # for python2.x installs
sudo apt-get install python3-dev # for python3.x installs
- 使用明确python版本号
sudo apt-get install python3.6-dev
出现了warning,选择y安好后就编译完了,上一个问题解决。
WARNING: The following packages cannot be authenticated!
python3.6 libpython3.6-stdlib python3.6-minimal libpython3.6-minimal libpython3.6 libpython3.6-dev python3.6-dev
Install these packages without verification? [y/N] y
- ImportError: torch.utils.ffi is deprecated. Please u