Giter Club home page Giter Club logo

nn4mc_cpp's People

Contributors

danathughes avatar rs-coop avatar sarahaguasvivas 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nn4mc_cpp's Issues

Test Report Template

  • FILE: filename.cpp
  • METHOD/FUNCTION: method()
  • RESULT: passing/failing/need_further_test
  • TEST TYPE: Unit test/Integration test

DESCRIPTION:

  • input:
  • output:
  • desired output:

NOTES:
[write additional notes here]

MacOS: HDF5-DIAG: Error detected in HDF5 (1.10.4) thread 4558149056

This doesn't happen on Linux. It must be an install issue.

HDF5-DIAG: Error detected in HDF5 (1.10.4) thread 4558149056:
#000: H5L.c line 1252 in H5Lvisit(): link visitation failed
major: Links
minor: Iteration failed
#1: H5L.c line 3481 in H5L__visit(): link visitation failed
major: Links
minor: Iteration failed
#2: H5Gint.c line 1144 in H5G_visit(): not a location
major: Invalid arguments to routine
minor: Inappropriate type
#3: H5Gloc.c line 188 in H5G_loc(): invalid group ID
major: Invalid arguments to routine
minor: Bad value

Layer unit tests

Tested/passed:

  • activations.h
  • activations.cpp
  • conv1d.h
  • conv1d.cpp
  • dense.h
  • dense.cpp
  • maxpool1d.h
  • maxpool1d.cpp
  • conv2d.h
  • conv2d.cpp
  • maxpool2d.h
  • maxpool2d.cpp

Need to test (before March 1st)

  • integration testing full nn4mc flow
  • finishing up all padding options

activations.cpp testing in python w/ SWIG

Ran 8 tests (7 failed)
(attached is output test results)

  • exponential (Input integers from -100 to 100): most tests failed due to decimal imprecision, tests with input larger than 88 failed due by returning 'inf' in swig

  • hard sigmoid (Input integers from -100 to 100): most tests passed, tests with inputs -2, -1, 1, 2 failed due to decimal imprecision

  • hyper tan (Input integers from -100 to 100): some tests passed, all tests with input between -19 and 19 failed due to decimal imprecision

  • relu (Input integers from -100 to 100): all tests passed

  • sigmoid (Input integers from -100 to 100): some tests passed, all tests with input between -10 and 36 failed due to decimal imprecision, tests with input larger than 88 failed by returning 'nan'

  • softmax (Input integers from -100 to 100): most tests failed due to decimal imprecision, tests with input larger than 88 failed by returning '0'

  • softplus (Input integers from -100 to 100): some tests passed, all tests with input between -10 and 33 failed due to decimal imprecision, tests with input larger than 88 failed by returning 'inf'

  • softsign (Input integers from -100 to 100): most tests failed due to decimal imprecision

All test cases are attached
testing_module_errors.txt

TODO List

  • neural_network_generator is eating up the first ########################### characters

Done. Thanks Cooper :)

  • define layer sizes (input_shape and output_shape) from parser

Done.

  • end to end code generator.

Done.

  • Activation function lookup

Done. TODO:

  • Improve parser/ input/output shape readers

Done!

  • Make activation.h and activation.c

Thanks Cooper!

  • Make [N][M] and [N][M][K] squisher--> - overload fwdNN( .) or make a prepare window function
    In Progress...

  • Figure out what to do when user has custom activation functions

  • Weights and biases have the same name--> parser's fault

Done

  • write arduino code that uses nn4mc--> Examples ...

  • Finish all the installation scripts

  • Test dumped code

HDF5 vs. PyTorch additional options (front end)

If model type is HDF5: show only one follow up uploading button
If model type is PyTorch: show two follow up uploading buttons--> one that requests python model class and another one that requests pickle file.

[Conv] All types of convolution

Convolution1D = Conv1D
Convolution2D = Conv2D
Convolution3D = Conv3D
SeparableConvolution1D = SeparableConv1D
SeparableConvolution2D = SeparableConv2D
Convolution2DTranspose = Conv2DTranspose
Convolution3DTranspose = Conv3DTranspose
Deconvolution2D = Deconv2D = Conv2DTranspose
Deconvolution3D = Deconv3D = Conv3DTranspose

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.