在Windows10和Ubuntu16.4下均成功配置运行
MANet源码:https://github.com/wangshy31/MANet_for_Video_Object_Detection
MANet原文:https://wangshy31.github.io/papers/2-MANet.pdf
一、配置环境
由于MANet属于光流法那几篇经典论文的扩展,因此与FGFA环境的搭配差不多,可以参考我之前配置DFF与FGFA的博客。
https://blog.csdn.net/zyksumm/article/details/106556819
运行过程中出现了一些别的问题:
ImportError: No module named imageio
我直接pip安装了imageio库,但是提示:
ERROR: Package 'imageio' requires a different Python: 2.7.18 not in '>=3.5'
这是因为pip安装会直接安装最新版本的imageio,而我们的Python版本为2.7,不支持,所以需要指定版本。
pip install imageio==2.6.1
最后还出现了一个错误:
TypeError: _update_params_on_kvstore() takes exactly 4 arguments (3 given)
这个错误在复现DFF与FGFA时也遇到过,打开manet_rfcn /core/module.py
_update_params_on_kvstore(self._exec_group.param_arrays,
self._exec_group.grad_arrays,
self._kvstore,
self._param_names)
即可成功运行开始训练。