Coder Social home page Coder Social logo

locuslab / icnn Goto Github PK

View Code? Open in Web Editor NEW
268.0 19.0 52.0 10.5 MB

Input Convex Neural Networks

Home Page: https://arxiv.org/abs/1609.07152

License: Apache License 2.0

Shell 0.44% Python 99.56%
deep-learning reinforcement-learning convex-optimization research-paper

icnn's People

Contributors

leix28 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

icnn's Issues

Data Files

Where can I get the CSV files for bibtex data ?

code is not understandable

the code define the f function as ๏ผš

def f_ficnn(self, x, y, reuse=False):
    fc = tflearn.fully_connected
    xy = tf.concat((x, y), 1)

    prevZ = None
    for i, sz in enumerate([200, 200, 1]):
        z_add = []

        with tf.variable_scope('z_x{}'.format(i)) as s:
            z_x = fc(xy, sz, reuse=reuse, scope=s, bias=True)
            z_add.append(z_x)

        if prevZ is not None:
            with tf.variable_scope('z_z{}_proj'.format(i)) as s:
                z_z = fc(prevZ, sz, reuse=reuse, scope=s, bias=False)
                z_add.append(z_z)

        if sz != 1:
            z = tf.nn.relu(tf.add_n(z_add))
        prevZ = z

    return tf.contrib.layers.flatten(z)

it has two input : x and y. I think there should be only one input and y is output. Do I misunderstand something?

Could you give us the allcode?

dear teacher, I am a Chinese student. I am surprised and admire your research achievements . After reading your paper, I have benefited a lot. I want to learn more about your technology and apply it to wind turbine control. It's still in the learning phase, but the code can't run because it's true that the files are missing. ''No such file or directory: 'output.random-search/bestParams.json''

Can you update the code and give the complete code? We guarantee that we will not spread it out, that we will quote your achievements in the paper, and that our achievements will be shared with you. Thank you very much.

tensorflow has no attribute 'mul'

tf.mul is now deprecated, and needs to be replaced with tf.multiply.
Use tf.initializers.variance_scaling instead with distribution=uniform to get equivalent behavior. Traceback (most recent call last): File "icnn.back.py", line 421, in <module> main() File "icnn.back.py", line 104, in main model = Model(inputSz, outputSz, sess, args.nGdIter) File "icnn.back.py", line 131, in __init__ E0_ = self.f(self.x_, self.y0_) File "icnn.back.py", line 330, in f z_yu = conv(tf.mul(y_red, yu_u), nFilter, kSz, strides=strides, AttributeError: module 'tensorflow' has no attribute 'mul'

Edit: Here is a list of deprecated functions and their updated variants (for tf >= 1.0 users):

  • tf.merger_all_summaries => tf.summary.merge_all
  • tf.histogram_summary => tf.summary.histogram
  • tf.scalar_summary => tf.summary.scalar
  • tf.mul => tf.multiply
  • tf.train.SummaryWriter => tf.summary.FileWriter

Help needed with Proposition 1 of your paper

Hi,
I have trouble understanding the proof of Proposition 1 of your paper (https://arxiv.org/pdf/1609.07152.pdf). Can you provide supplementary steps why a fully connected ICNN (defined in equation (2) of your paper) is convex. Especially, why W^(y)_i can have negative values?
For example, when setting all W^(z)_i = 0 I expect the network not to be convex in general.

I would appreciate any help. Thanks.

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.