Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keras interface #480

Merged
merged 79 commits into from
Sep 15, 2023
Merged
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
663fcb4
Test latest modelspec
pgleeson May 18, 2023
0099346
Regenerated with latest nml libraries
pgleeson May 18, 2023
9dbc3ed
Merge branch 'nml_examples' into nml_examples2
pgleeson May 18, 2023
c1b2fd2
Fix issue with onnx trying to add int to float
pgleeson May 19, 2023
ca2516d
Merge pull request #459 from ModECI/nml_examples2
pgleeson May 19, 2023
f2a5536
type info in input ports in generated graphs
pgleeson May 19, 2023
2f837ea
Initial tests NeuroMLlite->PyNN->MDF
pgleeson May 19, 2023
c85d08e
Formatted
pgleeson May 19, 2023
25c0705
Updates to test pynn hh
pgleeson May 25, 2023
8897121
Improved handling of spike transfers
pgleeson May 25, 2023
aceb440
More tests on pynn examples
pgleeson May 26, 2023
f4e3597
More tests
pgleeson May 29, 2023
8f85e00
Latests tests
pgleeson May 29, 2023
1d9bcd6
Merge branch 'testv' into nml_examples
pgleeson May 29, 2023
b7a8298
Merge branch 'development' into nml_examples
pgleeson May 31, 2023
bf30a36
Merge branch 'development' into nml_examples
pgleeson Jun 12, 2023
6102a41
Merge branch 'development' into nml_examples
pgleeson Jun 21, 2023
ebc9596
Merge branch 'development' into nml_examples
pgleeson Jul 25, 2023
f70efd2
Merge branch 'development' into nml_examples
pgleeson Jul 27, 2023
1dfde96
Add keras_to_mdf helper function
Onoyiza Jul 28, 2023
1c8fa88
Add Script to call keras_to_mdf function
Onoyiza Jul 31, 2023
b5c3cc8
pre-commit script for keras_to_mdf function call
Onoyiza Jul 31, 2023
37dcbae
Merge pull request #472 from Onoyiza/keras_dev
pgleeson Aug 1, 2023
dd02ee0
Modify script on keras_to_mdf function
Onoyiza Aug 1, 2023
e919af9
Modified script to avoid failing tests
Onoyiza Aug 1, 2023
5e143f2
Regenerated files
pgleeson Aug 1, 2023
97883e0
Merge branch 'keras_interface' of github.com:ModECI/MDF into keras_in…
pgleeson Aug 1, 2023
4c8d7dd
Accompanying files for keras_to_mdf example
Onoyiza Aug 1, 2023
2227052
Test also keras
pgleeson Aug 1, 2023
6b248ae
Fix issue with generate at level=3
pgleeson Aug 1, 2023
3c81f27
Fix format
pgleeson Aug 1, 2023
99c2df6
Merge pull request #1 from ModECI/keras_interface
Onoyiza Aug 2, 2023
dae078c
Merge branch 'keras_interface' of https://github.com/ModECI/MDF into …
Onoyiza Aug 2, 2023
82f2209
Fix format
Onoyiza Aug 2, 2023
d578a6a
Tweaks to keras_to_mdf function
Onoyiza Aug 4, 2023
7c0d662
Test keras_to_mdf func for keras model on iris data
Onoyiza Aug 8, 2023
58e328d
Merge branch 'feature/latest_modelspec' into nml_examples
pgleeson Aug 9, 2023
71ff09b
Update and test keras_to_mdf function
Onoyiza Aug 11, 2023
7091124
Fix add_activation name call
Onoyiza Aug 13, 2023
ae59c79
tweaks on example using iris data
Onoyiza Aug 14, 2023
33a79d3
Update output of AssertionError handling
Onoyiza Aug 14, 2023
d8e0b75
Merge branch 'development' into nml_examples
pgleeson Aug 14, 2023
22dd764
Merge branch 'development' into keras_interface
pgleeson Aug 14, 2023
db5c3ed
Merge pull request #477 from Onoyiza/keras_dev_example
pgleeson Aug 14, 2023
bdc7038
Remove generated files from commit
pgleeson Aug 15, 2023
bd48dc2
Merge pull request #2 from ModECI/keras_interface
Onoyiza Aug 18, 2023
72fff44
Changes to flatten_node and softmax functions
Onoyiza Aug 18, 2023
296d44b
Tweaks to import script on keras_to_mdf
Onoyiza Aug 18, 2023
4013f04
Create more types of nodes
Onoyiza Aug 19, 2023
312c96c
Add function call for more nodes
Onoyiza Aug 20, 2023
557147f
Minor corrections in creating some nodes
Onoyiza Aug 22, 2023
4b65a3c
Restructure Keras Examples
Onoyiza Aug 23, 2023
44f6873
Update keras_to_mdf func call on more test images
Onoyiza Aug 23, 2023
fa2ce0d
Fix Format
Onoyiza Aug 23, 2023
816ae0b
Merge pull request #479 from Onoyiza/keras_dev
pgleeson Aug 29, 2023
798d69f
Update README
Onoyiza Aug 29, 2023
0fed083
Update README
Onoyiza Aug 29, 2023
c9cf627
Adding code to ensure same random weights used every time - reproduci…
pgleeson Aug 29, 2023
a526017
Ignoring graphviz files
pgleeson Aug 29, 2023
54a1672
Update README
Onoyiza Aug 29, 2023
9287e31
Correct code on accessing mnist
Onoyiza Aug 29, 2023
62dadd1
Merge pull request #3 from ModECI/keras_interface
Onoyiza Aug 29, 2023
06b2e53
Update README
Onoyiza Aug 29, 2023
d035086
Update versions github actions
pgleeson Aug 29, 2023
5bb3a73
One more gha action version update
pgleeson Aug 29, 2023
25fec08
Specify py version for actions/setup-python@v4
pgleeson Aug 29, 2023
f36655f
Adding generated mdf files and images for pynn based examples
pgleeson Aug 29, 2023
1019591
Merge branch 'development' into keras_interface
pgleeson Sep 6, 2023
3c60316
Merge branch 'development' into nml_examples
pgleeson Sep 6, 2023
372050c
Use latest nml libraries; Regenerated multiple nml files
pgleeson Sep 6, 2023
03c47bb
Merge branch 'nml_examples' of github.com:ModECI/MDF into nml_examples
pgleeson Sep 6, 2023
c0ffe8d
Regenerated with latest nmllite
pgleeson Sep 15, 2023
a397a81
Add clickable image to quick start page
pgleeson Sep 15, 2023
fec24cc
Merge pull request #481 from Onoyiza/keras_dev
pgleeson Sep 15, 2023
13d1c6e
Merge branch 'nml_examples' into keras_interface
pgleeson Sep 15, 2023
b356f67
Restructuring Keras examples
pgleeson Sep 15, 2023
85b704e
Ignoring
pgleeson Sep 15, 2023
aacdeb6
Update readme for mnist example
pgleeson Sep 15, 2023
3b24a67
Add readme for keras iris example
pgleeson Sep 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Regenerated files
  • Loading branch information
pgleeson committed Aug 1, 2023
commit 5e143f2cca36480552f9402b64b46e449ac160f9
2 changes: 1 addition & 1 deletion examples/TensorFlow/Keras/keras_to_MDF.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"keras_to_MDF": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.4",
"generating_application": "Python modeci-mdf v0.4.7",
"graphs": {
"Keras_to_MDF_graph": {
"nodes": {
2 changes: 1 addition & 1 deletion examples/TensorFlow/Keras/keras_to_MDF.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
keras_to_MDF:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.4
generating_application: Python modeci-mdf v0.4.7
graphs:
Keras_to_MDF_graph:
nodes:
Binary file modified examples/TensorFlow/Keras/kr_N_model.h5
Binary file not shown.
Binary file modified examples/TensorFlow/Keras/model_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.