mmtracking-environment construction

MMTracking address:

https://github.com/open-mmlab/mmtracking

1. Install step by step according to install.md in the readme 

      You can also refer to this document for very detailed writing: https://blog.csdn.net/weixin_41010198/article/details/112291036

2. Possible problems

 (1) Lack of pycocotools library:

    1. Download the source code:

          https://github.com/philferriere/cocoapi

    2. Enter the PythonAPI folder and execute python setup.py 

         Generate build and other folders

(2) The ascii transcoding error occurred in the setup.py file in the compiled mmtracking folder

Try the following methods, no use:

1、文件头加 ‘# encoding=utf8 ’   没用

2、加入如下代码   没用

import sys  
reload(sys) 
sys.setdefaultencoding('utf8')

Finally, it is used to  add export LC_CTYPE=en_US.UTF-8 to ~/.bashrc and ~/.profile files 

Guess you like

Origin blog.csdn.net/sinat_39307513/article/details/112999486