-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to generate the density map? #9
Comments
You can find method of density map generation in this site:https://github.com/Ling-Bao/ACSCP_cGAN#addtional |
可以对密度生成制作的matlab代码进行参数修改以满足你的要求,https://github.com/Ling-Bao/ACSCP_cGAN/blob/master/data_maker/step3/map_mcnn.m
|
Hi, I'm getting this error while trying to generate density map using your file. Please help me solve it. Undefined function or variable 'searchhead'. Error in map_mcnn (line 144) |
You can find searchhead(A , i0, j0, radius) from searchhead.m。project is from data_maker。 |
@NextGuido 项目ACSCP_cGAN可以实现输出的密度估计图和原图大小相同。线上使用的生成器模型我单独分开了,你可以参考generator_large(self, image, batch_size=1, use_dropout=True, reuse=False)的网络结构。通过使用上采样或是反卷积都可以实现输入和输出图像大小相同,但需要注意输入图像的尺寸大小,如果下采样为奇数*奇数的feature map,然后还要继续下采样就不太好恢复为原始大小了。 |
Hi, |
Hi, The map_mcnn.m given has a few errors and missing code as per the latest matlab. I've fixed it and can confirm that they work because this model trains on my custom dataset. Link is given below. |
Thanx @shriramhr . You have acted as a true friend of mine. |
@Ling-Bao
hi! I'm trying to use your code with my own dataset, but I don't know how to generate the density map as you gave. So can you tell me how to do that? thx
The text was updated successfully, but these errors were encountered: