advboxes / AdvBox

Advbox is a toolbox to generate adversarial examples that fool neural networks in PaddlePaddle、PyTorch、Caffe2、MxNet、Keras、TensorFlow and Advbox can benchmark the robustness of machine learning models. Advbox give a command line tool to generate adversarial examples with Zero-Coding.
Apache License 2.0
1.38k stars 263 forks source link

bugs #77

Open cuge1995 opened 3 years ago

cuge1995 commented 3 years ago
File "facenet_fr.py", line 199, in <module>
    fr = FacenetFR()
  File "facenet_fr.py", line 90, in __init__
    facenet.load_model(FACENET_MODEL_CHECKPOINT)
AttributeError: module 'facenet' has no attribute 'load_model'
niuwagege commented 2 years ago

sys.path.append("../../thirdparty/facenet/src")

works for me