Code Monkey home page Code Monkey logo

aifiddle-issues's People

Contributors

m4nuc 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tylerlima

aifiddle-issues's Issues

MNIST Conv net doesn't converge

Hello,

Using AI fiddle to create fully connected nets and single layer conv nets converges OK, however none of my attempts to use 2-3 convolution layers seem to get much above 50% accuracy.

To get a reference point I re implemented in AI Fiddle the simple conv net here: https://github.com/keras-team/keras/blob/master/examples/mnist_cnn.py and also ran it in a colaboratory notebook. The notebook was at 92% accuracy after the first epoch. In AIFiddle I get to around 50% with 1 epoch and a batch size of 32. Moving to a batch size of 128 (as used by the code sample) sees this crashing down to 10%.

Do you have any idea what could cause this?

Confirmation alert when the tab is closed while training

Right now, if the tab is closed while a training procedure is going on, the application doesn't provide any alert. I think that the best behavior would be to alert the user about the ongoing training and ask for a confirmation (like Facebook does when you have an unsent message/comment). The objective of that change is to avoid an accidental closing.

Feature request: export function via code-generator for Keras, pytorch, TF, and mxnet

It would be nice to have an export-feature for each sort of layer that can generate sample code for the main NN libraries, e.g.,

export feature

pytorch

    model = torch.nn.Sequential()
    model.add_module("linear_1", torch.nn.Linear(input_dim, 128))
    model.add_module("relu_1", torch.nn.ReLU())
    model.add_module("linear_2", torch.nn.Linear(128, 64))
    model.add_module("relu_1", torch.nn.ReLU())
    model.add_module("linear_3", torch.nn.Linear(64, output_dim))

keras

???

tf

    # Hidden 1
    with tf.name_scope('hidden1'):
        weights = tf.Variable(
            tf.truncated_normal([IMAGE_PIXELS, hidden1_units],
                                stddev=1.0 / math.sqrt(float(IMAGE_PIXELS))), name='weights')
        biases = tf.Variable(tf.zeros([hidden1_units]), name='biases')
        hidden1 = tf.nn.relu(tf.matmul(images, weights) + biases)
    # Hidden 2
    with tf.name_scope('hidden2'):
        weights = tf.Variable(
            tf.truncated_normal([hidden1_units, hidden2_units],
                                stddev=1.0 / math.sqrt(float(hidden1_units))), name='weights')
        biases = tf.Variable(tf.zeros([hidden2_units]),name='biases')
        hidden2 = tf.nn.relu(tf.matmul(hidden1, weights) + biases)
    # Linear
    with tf.name_scope('softmax_linear'):
        weights = tf.Variable(
            tf.truncated_normal([hidden2_units, NUM_CLASSES],
                                stddev=1.0 / math.sqrt(float(hidden2_units))), name='weights')
        biases = tf.Variable(tf.zeros([NUM_CLASSES]),name='biases')
        logits = tf.matmul(hidden2, weights) + biases
    #
    return logits

mxnet

data = mx.symbol.Variable('data')
fc1  = mx.symbol.FullyConnected(data = data, name='fc1', num_hidden=128)
act1 = mx.symbol.Activation(data = fc1, name='relu1', act_type="relu")
fc2  = mx.symbol.FullyConnected(data = act1, name = 'fc2', num_hidden = 64)
act2 = mx.symbol.Activation(data = fc2, name='relu2', act_type="relu")
fc3  = mx.symbol.FullyConnected(data = act2, name='fc3', num_hidden=10)
mlp  = mx.symbol.SoftmaxOutput(data = fc3, name = 'softmax')

Training stops when the browser tab changes (loses focus)

I just realized that, while training, if I switch to another tab to do something else, the training stops. When I switch back, it continues normally. The only thing that continues if the tab loses focus is the time counter.

I think the expected behavior would be to continue the training even if the tab doesn't have the focus.

I'm using:
Windows 10
Firefox 64.0.2 (64-bit)
Dozens of tabs opened.

reset weights

Would be nice to be able to restart training with reinitialised weights, quickly and easily. Not sure how best to do this right now.

Causal Conv2D padding broken

Can not update Conv2D_irzspz20l1 –– casual is not a valid PaddingMode. Valid values are valid,same,causal or null/undefined.

It seems like there is a typo in the padding options

RMSprop optimizer bug

When chosing the RMSprop optimizer, the webpage become totally blank.
Others optimizer seem fine.

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.