Giter Club home page Giter Club logo

nn.jl's Introduction

NN.jl

Julia Neural Network Library

Coming soon...

nn.jl's People

Contributors

celsius38 avatar fufjvnvnf avatar hanqingjiang929 avatar jennywang1028 avatar lucaschen321 avatar mawenyuan1997 avatar stevenygd avatar tiiiger avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nn.jl's Issues

Change Input Layer

Change labels to be another input layer.
The user needs to have two input layer to feed in the Graph.

Also, change the feed_in Dict to have objects in the layer.

Feature Requested: A more friendly network output interface

Right now, prediction for a model given an input is outputted by the loss function, which is unintuitive since loss function is technically not part of the net. We should consider tensorflow's implementation to output prediction else where.

Change Design: Input Layer Tag

The current design of input layer easily leads to user's misuse. Input Layers must not have duplicate tags.

Case 1:
When a user creates two input layer without specifying tags, both layer would have the same tag "default".

MaxPooling Layer Index

It seems like max pooling layer could only accept size that's an integer multiplication of the pool size.

eg. if the pool size is (2,2), then the max polling layer could only accept image with size (2n,2m)

Demo

  • Clean examples/mnist.jl.
  • Benchmark: time and memory allocation
  • Pytorch: comparison

Wrap Layer constants

Create new Julia type to wrap four common layer field: parents, children, has_init, id.
Also, due to change in interface, has_init is unnecessary now. This field should be removed in the future.

Fix Graph TestCase

Weird Error message in CaffeConvLayer constructor.

ERROR: LoadError: MethodError: no method matching (::##call#11#13)(::Void, ::Int64, ::Int64, ::String, ::Array{Any,1}, ::Type{CaffeConvLayer}, ::InputLayer, ::Int64, ::Tuple{Int64,Int64})
Closest candidates are:
#call#11(!Matched::Dict{String,Any}, ::Any, ::Any, ::Any, ::Any, ::Any, ::Union{Layer, Void}, ::Int64, ::Tuple{Int64,Int64}) at /Users/tianyizhang/Documents/Grendel_NN.jl/NN.jl/test/../src/layers/CaffeConvLayer.jl:58
Stacktrace:
[1] CaffeConvLayer(::InputLayer, ::Int64, ::Tuple{Int64,Int64}) at /Users/tianyizhang/Documents/Grendel_NN.jl/NN.jl/test/../src/layers/CaffeConvLayer.jl:58
[2] include_from_node1(::String) at ./loading.jl:569
[3] include(::String) at ./sysimg.jl:14
[4] process_options(::Base.JLOptions) at ./client.jl:305
[5] _start() at ./client.jl:371
while loading /Users/tianyizhang/Documents/Grendel_NN.jl/NN.jl/test/GraphTest.jl, in expression starting on line 24

Last commit where GraphToposortTest is good is 933f29d.

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.