Comments (4)
Could you please provide more information? I didn't find logits
argument in ex_02.py
, if this is what you referred to. I think I run it and it works.
from tensorflow-adversarial.
Hi - Even I got the same error in ex_02.py.
Traceback (most recent call last):
File "RMLtgma.py", line 101, in
print('\nTraining model')
File "/home/pduraisamy/test/adversarial/tgsm.py", line 56, in tgsm
name='tgsm')
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2623, in while_loop
result = context.BuildLoop(cond, body, loop_vars, shape_invariants)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2456, in BuildLoop
pred, body, original_loop_vars, loop_vars, shape_invariants)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2406, in _BuildLoop
body_result = body(*packed_vars_for_body)
File "/home/pduraisamy/test/adversarial/tgsm.py", line 46, in _body
ybar, logits = model(x_adv, logits=True)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 602, in call
output = self.call(inputs, **kwargs)
TypeError: call() got an unexpected keyword argument 'logits'
from tensorflow-adversarial.
I got it, I fixed in my local repo without push it. Should be fixed in ec3d382.
from tensorflow-adversarial.
Thanks. It works now. Really appreciate your quick response.
from tensorflow-adversarial.
Related Issues (12)
- One question about deepfool when attack a keras model
- Any adversarial attack that sustains after resize attack HOT 6
- Does the fgmt attack work correctly? Do you have a few sample outputs for fgmt? HOT 1
- Dependencies missing HOT 2
- I HOT 3
- what is adversarial data? HOT 2
- ex_00.py for different model HOT 5
- problem of fgmt: type of label y HOT 1
- Some thoughts ... most adversarial examples that looks ok to human is because... HOT 2
- Is there loop in your fast gradient method? HOT 1
- example can't run HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow-adversarial.