ACSCP_cGAN icon indicating copy to clipboard operation
ACSCP_cGAN copied to clipboard

test时计算误差,输入图像

Open wangyuanyuan0 opened this issue 5 years ago • 2 comments

请问,test计算MAE和MSE时,输入图像的大小必须固定吗?是240*240的吗?用原图像大小行不行?

wangyuanyuan0 avatar Mar 09 '19 08:03 wangyuanyuan0

我把网络做成了全卷积,所以输入可以是原图,但需要修改下网络的输入大小,可以参考product.py,将Line 45的输入改为自己图像的尺寸

Ling-Bao avatar Mar 09 '19 12:03 Ling-Bao

Hi, you may be interested in my implementation in pytorch. It includes the density map generation. https://github.com/RQuispeC/pytorch-ACSCP

RQuispeC avatar Apr 06 '19 21:04 RQuispeC