jiaxiaojunQAQ / Comdefend

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

该出代码是否有误?两个def嵌套了 #3

Open Fangkang515 opened 5 years ago

Fangkang515 commented 5 years ago

image

图中def test被嵌套在另一函数中了。

jiaxiaojunQAQ commented 5 years ago

image

图中def test被嵌套在另一函数中了。

没有问题,可以下载运行

Fangkang515 commented 5 years ago

好的,多谢。另外请问pytorch或者Keras版什么时候会有。论文中还有一些不理解的地方,想看代码试着理解,但是我平常只用pytorch和Keras😂

jiaxiaojunQAQ commented 5 years ago

好的,多谢。另外请问pytorch或者Keras版什么时候会有。论文中还有一些不理解的地方,想看代码试着理解,但是我平常只用pytorch和Keras😂

我会尽快重构,目前在重构keras的版本。

lisenxd commented 5 years ago

想问一下。preprocesser在哪里导入的

lisenxd commented 5 years ago

哦,找到了