mscnn icon indicating copy to clipboard operation
mscnn copied to clipboard

how to generate a true annotation

Open wspt96 opened this issue 6 years ago • 5 comments

   您好,我最近的工作用到了mscnn作为对比算法,请问在制作数据集的时候,对于生成的annotation矩阵,是不是要将坐标放缩到原图的1/4

wspt96 avatar Oct 19 '18 15:10 wspt96

@Ling-Bao

wspt96 avatar Oct 19 '18 15:10 wspt96

YES, MSCNN method need to resize density map

Ling-Bao avatar Oct 20 '18 13:10 Ling-Bao

你好,我想使用GPU跑您的代码,应该怎么修改?

zlweiyang avatar Oct 26 '18 06:10 zlweiyang

@Ling-Bao

zlweiyang avatar Oct 26 '18 06:10 zlweiyang

安装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

Ling-Bao avatar Oct 28 '18 10:10 Ling-Bao