Local-Crowd-Counting icon indicating copy to clipboard operation
Local-Crowd-Counting copied to clipboard

single image test

Open QxGeng opened this issue 4 years ago • 8 comments

Thanks for your great work.I want to get density map of a single picture from other dataset, such as the photo took by myself.Can you provide the code? Thanks.

QxGeng avatar May 14 '20 03:05 QxGeng

Thanks for attention, we will upload demo.py soon.

xiyang1012 avatar May 14 '20 08:05 xiyang1012

OK,Thanks!

QxGeng avatar May 14 '20 08:05 QxGeng

Thanks for this excellent work, and I also want the demo.py for our picture testing Thanks

617778859 avatar Jul 09 '20 01:07 617778859

Coming soon. We are reviewing the code.

xiyang1012 avatar Jul 09 '20 07:07 xiyang1012

Coming soon. We are reviewing the code.

Frankly speaking, I have modifed the code-test.py, and to test my own image .The result is extremely perfect. But I found some phenomenon puzzled, such as when I loop the test fuction which the picute I have tested for the second time the result will be got very soon and the video RAM Memory used not varied by pictures and pictures in the second loop. The net like has cached my tested pictures before. So Thanks a lot. The architecture and the pretrain-model are so nice.

617778859 avatar Jul 09 '20 07:07 617778859

We've tested models on datasets in the past, but not with other generic images. It seems that our model has great generalization ability. And the demo code you modifed is good!

xiyang1012 avatar Jul 09 '20 07:07 xiyang1012

@617778859 Could you please upload the code-test.py file that you're talking about ?

ayanasser avatar Jul 13 '20 12:07 ayanasser

@ayanasser We've uploaded demo.py file and you can try it now.

xiyang1012 avatar Jul 14 '20 02:07 xiyang1012