leeyeehoo / csrnet Goto Github PK
View Code? Open in Web Editor NEWCSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenes
CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenes
Hello!
I transfer the Caffe Model to the MXNet implementation.
And I set the mean value [103.939, 116.779, 123.68] in BGR order.
In the inference, divide the image into 4 patches and predict them, then sum the four density maps.
However, I get the result: MAE 74.712, MSE 125.011 in ShanghaiTech Part_A dataset.
It is worse than the result paper reported (MAE 68.2, MSE 115.0).
When feeding the whole image into the model, MAE: 72.585, MSE: 119.049 (mean value: [110.474, 118.574, 123.955]), MAE: 72.626, MSE: 119.541 (mean value: [103.939, 116.779, 123.68]). It is still worse than that paper reported.
And I test the model on Caffe, here is the evaluation code.
Mean Value: [110.474, 118.574, 123.955]
MAE: 72.189, MSE: 118.791 (Caffe CPU)
MAE: 72.189 MSE: 118.791 (Caffe GPU)
Mean Value: [103.939, 116.779, 123.68]
MAE:72.203, MSE: 119.219 (Caffe CPU)
MAE: 72.203 MSE: 119.219 (Caffe GPU)
Could you please provide the mean value and the prediction result?
Thank you!
你好,请问caffe版本输入图片的transform和pytorch版本是一致的么?为何我在caffe版本使用和pytorch相同的transform得出的结果完全不同?如果不是请问caffe输入需要如何处理?谢谢
首先。图像预处理是指将所有待训练和测试的图片根据标注的人头点的坐标生成对应的密度图,并与标注的人头总数一起作为ground-truth。训练阶段是指将所有的训练集(包括图像预处理生成的ground-truth)输送到以VGG16前十层作为前端的网络进行人头特征提取,然后将提取到的人头特征输送到空洞卷积神经网络的进行训练,最后通过提取出的人头位置特征生成对应的密度图。
麻烦看一下我理解的对吗?谢谢
您好,非常感谢您能够开源keras代码,方便我们的学习。最近,在复现您的代码的时候,发现在训练过程中 loss 并没有减低,一直维持在一个0.001 左右,非常希望能够得到您的指点。
How to annotate the car dataset and make the corresponding density maps?
Hi, first of all, thank you very much for your work.
But, you didn't elaborate on how to generate a density map in your paper. How can I get a density map from estdmap? How to post-process estdmap?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.