Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Add integration_test/tfjs2keras; Fix the bugs uncovered by the test #173

Merged
merged 9 commits into from May 12, 2018

Conversation

caisq
Copy link
Contributor

@caisq caisq commented May 10, 2018

This is a node.js-Python integration test. It checks that the models
exported from tfjs-layers can be loaded properly by Keras in Python.

Fix bugs uncovered by the test

  • In Activation layers
  • In RNN layers

Towards: tensorflow/tfjs#13


This change is Reviewable

@caisq caisq force-pushed the node2python branch 8 times, most recently from 631cc01 to bf68fe3 Compare May 10, 2018 20:22
This is a node.js-Python integration test. It checks that the models
exported from tfjs-layers can be loaded properly by Keras in Python.

Fix bugs uncovered by the test
- In Activation layers
- In RNN layers
@caisq caisq changed the title Add integration_test/tfjs2keras Add integration_test/tfjs2keras; Fix the bugs uncovered by the test May 10, 2018
@caisq caisq requested a review from pyu10055 May 10, 2018 20:50
}

// Convolutional neural network (CNN).
function exportCNNModel(exportPath: string): void {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to approve the PR as it is, but how hard would it be to evolve the system to use either directories in tfjs-examples or tfjs-models as the source of models rather than hard-coding them here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. If we were to use models from tfjs-examples or tfjs-models, the test should probably live there instead in tfjs-layers. Another difficulty is the fact that examples are browser oriented (not sure about models), but the test here relies on node.js. I'll explore that later.

@caisq caisq merged commit dff535b into tensorflow:master May 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants