jiaxiaojunQAQ / Comdefend

The code for ComDefend: An Efficient Image Compression Model to Defend Adversarial Examples (CVPR2019)
112 stars 25 forks source link

patch-by-patch #21

Open gq-max opened 2 years ago

gq-max commented 2 years ago

请问原文中的patch-by-patch是怎么实现的

jiaxiaojunQAQ commented 2 years ago

就是切割图像,因为我们训练用的CIFAR-10大小3232,对于ImageNet图像 大小为224224 切割为 7*7,测试代码已经有了实现