whdii / TMM

10 stars 2 forks source link

where is the "input_diversity"? #6

Closed chilljudaoren closed 3 months ago

chilljudaoren commented 3 months ago

In the imageAttack script file, image_diversity = self.input_diversity(image + self.delta + (attMap>self.args.att_mask).to(device) * self.delta_att) input_diversity is undefined.

chilljudaoren commented 3 months ago

已解决