{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/cleverhans/issues/933","repository_url":"https://api.github.com/repos/tensorflow/cleverhans","labels_url":"https://api.github.com/repos/tensorflow/cleverhans/issues/933/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/cleverhans/issues/933/comments","events_url":"https://api.github.com/repos/tensorflow/cleverhans/issues/933/events","html_url":"https://github.com/tensorflow/cleverhans/issues/933","id":392680539,"node_id":"MDU6SXNzdWUzOTI2ODA1Mzk=","number":933,"title":"'fprop' not implemented error in atack_fgsm.py","user":{"login":"Uno-Takashi","id":32987034,"node_id":"MDQ6VXNlcjMyOTg3MDM0","avatar_url":"https://avatars0.githubusercontent.com/u/32987034?v=4","gravatar_id":"","url":"https://api.github.com/users/Uno-Takashi","html_url":"https://github.com/Uno-Takashi","followers_url":"https://api.github.com/users/Uno-Takashi/followers","following_url":"https://api.github.com/users/Uno-Takashi/following{/other_user}","gists_url":"https://api.github.com/users/Uno-Takashi/gists{/gist_id}","starred_url":"https://api.github.com/users/Uno-Takashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Uno-Takashi/subscriptions","organizations_url":"https://api.github.com/users/Uno-Takashi/orgs","repos_url":"https://api.github.com/users/Uno-Takashi/repos","events_url":"https://api.github.com/users/Uno-Takashi/events{/privacy}","received_events_url":"https://api.github.com/users/Uno-Takashi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-19T16:29:16Z","updated_at":"2018-12-19T17:38:30Z","closed_at":null,"author_association":"NONE","body":"I have thought about re-implementing \"universal adversarial perturbation\" using a trained model and cleverhans. As the previous stage, I searched for a examples that uses trained model to output something Adversarial Examples.\r\n\r\nFor that reason, I've tried using attack_fgsm.py from nips17_adversarial_competition. \r\nhttps://github.com/tensorflow/cleverhans/blob/master/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/fgsm/attack_fgsm.py\r\n\r\nforemost,I made changes to the directory as follows.\r\n\r\n|- fgsm\r\n&nbsp;&nbsp;&nbsp;|-- input\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|---(( some images ))\r\n&nbsp;&nbsp;&nbsp;|-- output\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--- ((empty directory))\r\n&nbsp;&nbsp;&nbsp;|-- inception_v3.ckpt\r\n&nbsp;&nbsp;&nbsp;|-- atack_fgsm.py\r\n&nbsp;&nbsp;&nbsp;|-- metadata.json\r\n&nbsp;&nbsp;&nbsp;|-- run_attack.sh\r\n\r\nNext, I fixed part of attack_fgsm.py as follows.\r\n\r\n```\r\ntf.flags.DEFINE_string(\r\n    'master', '', 'The address of the TensorFlow master to use.')\r\n\r\ntf.flags.DEFINE_string(\r\n    'checkpoint_path', 'inception_v3.ckpt', 'Path to checkpoint for inception network.')\r\n\r\ntf.flags.DEFINE_string(\r\n    'input_dir', 'input/', 'Input directory with images.')\r\n\r\ntf.flags.DEFINE_string(\r\n    'output_dir', 'output/', 'Output directory with images.')\r\n```\r\n\r\nI execution attack_fgsm.py in this state and the following error appeared.\r\n\r\n```\r\n`fprop` not implemented.\r\nstack trace:\r\n >  File \"G:\\downloads\\cleverhans-master\\cleverhans-master\\examples\\nips17_adversarial_competition\\dev_toolkit\\sample_attacks\\fgsm\\attack_fgsm.py\", line 160, in main\r\n >    save_images(adv_images, filenames, FLAGS.output_dir)\r\n >  File \"G:\\downloads\\cleverhans-master\\cleverhans-master\\examples\\nips17_adversarial_competition\\dev_toolkit\\sample_attacks\\fgsm\\attack_fgsm.py\", line 164, in <module>\r\n >    tf.app.run()\r\n'__main__' を読み込みました\r\n'tensorflow.python.platform.app' を読み込みました\r\nBackend TkAgg is interactive backend. Turning interactive mode on.\r\n```\r\n\r\nThe program is stopped at the following location.\r\nhttps://github.com/tensorflow/cleverhans/blob/510e16df371f006ded96ad7fbae7486653897aba/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/fgsm/attack_fgsm.py#L145\r\n\r\nHow can I resolve this error?"},"comment":{"url":"https://api.github.com/repos/tensorflow/cleverhans/issues/comments/448681656","html_url":"https://github.com/tensorflow/cleverhans/issues/933#issuecomment-448681656","issue_url":"https://api.github.com/repos/tensorflow/cleverhans/issues/933","id":448681656,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODY4MTY1Ng==","user":{"login":"goodfeli","id":387866,"node_id":"MDQ6VXNlcjM4Nzg2Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/387866?v=4","gravatar_id":"","url":"https://api.github.com/users/goodfeli","html_url":"https://github.com/goodfeli","followers_url":"https://api.github.com/users/goodfeli/followers","following_url":"https://api.github.com/users/goodfeli/following{/other_user}","gists_url":"https://api.github.com/users/goodfeli/gists{/gist_id}","starred_url":"https://api.github.com/users/goodfeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goodfeli/subscriptions","organizations_url":"https://api.github.com/users/goodfeli/orgs","repos_url":"https://api.github.com/users/goodfeli/repos","events_url":"https://api.github.com/users/goodfeli/events{/privacy}","received_events_url":"https://api.github.com/users/goodfeli/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T17:38:30Z","updated_at":"2018-12-19T17:38:30Z","author_association":"COLLABORATOR","body":"I'm pretty sure that's not the full stack trace or error message, can you paste all of it?"}}
{"actor":{"display_login":"goodfeli"}}