mscnn
mscnn copied to clipboard
how to generate a true annotation
您好,我最近的工作用到了mscnn作为对比算法,请问在制作数据集的时候,对于生成的annotation矩阵,是不是要将坐标放缩到原图的1/4
@Ling-Bao
YES, MSCNN method need to resize density map
你好,我想使用GPU跑您的代码,应该怎么修改?
@Ling-Bao
安装tensorflow-gpu版本就可以跑了(需要先配置CUDA和cuDNN)
https://github.com/Ling-Bao/mscnn#installation 项目使用的是python3.x,将项目中的requirements.txt修改为如下
python-opencv
tensorflow-gpu==1.0.0
#tensorflow==1.0.0
matplotlib==2.2.2
numpy==1.14.2
然后利用pip进行安装
pip install -r requirements.txt