IBM / Autozoom-Attack

Codes for reproducing query-efficient black-box attacks in “AutoZOOM: Autoencoder-based Zeroth Order Optimization Method for Attacking Black-box Neural Networks” ​​​​, published at AAAI 2019
https://arxiv.org/abs/1805.11770
Apache License 2.0
57 stars 22 forks source link

bug report #15

Closed lin2020 closed 4 years ago

lin2020 commented 4 years ago

There is an error in https://github.com/IBM/Autozoom-Attack/blob/d9e94f3b7ed67eb7db4b375344297bed0a391534/setup_codec.py#L142

TypeError: unhashable type: 'slice'

Maybe this code should change to

config2 = config['layers'][1::]