name 'glow_coupling_layer' is not defined
Closed this issue · 4 comments
when I run attack_imagenet.py, it occurs error like this
Traceback (most recent call last):
File "attack_imagenet.py", line 35, in
import model
File "/opt/data/private/cvpr_attack/AdvFlow/model.py", line 25, in
glow_coupling_layer, {'clamp': c.clamping, 'F_class': F_conv,
NameError: name 'glow_coupling_layer' is not defined
Could you please tell me how to sovle this problem?
Thanks a lot!
Hi!
Have you installed the FrEIA library?
It seems that you need to install it.
The instructions can be found on the requirements.txt
OK, maybe there is some version mismatch happening.
Attached you can find the exact same FrEIA library that I've used for this repository.
FrEIA.zip
OK, maybe there is some version mismatch happening.
Attached you can find the exact same FrEIA library that I've used for this repository.
FrEIA.zip
Thanks a lot!
It really works!