Coder Social home page Coder Social logo

Comments (4)

gongzhitaao avatar gongzhitaao commented on June 19, 2024

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.

Poomathi avatar Poomathi commented on June 19, 2024

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.

gongzhitaao avatar gongzhitaao commented on June 19, 2024

I got it, I fixed in my local repo without push it. Should be fixed in ec3d382.

from tensorflow-adversarial.

Poomathi avatar Poomathi commented on June 19, 2024

Thanks. It works now. Really appreciate your quick response.

from tensorflow-adversarial.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.