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

Test package publishing #12

Open
bleggett opened this issue Jun 26, 2020 · 2 comments
Open

Test package publishing #12

bleggett opened this issue Jun 26, 2020 · 2 comments

Comments

@bleggett
Copy link
Collaborator

bleggett commented Jun 26, 2020

I'm worried that the .h5 model files are too big for this to be published to npmjs - but we can work around this in the kit image if we have to.

Note that the .h5 model files currently live in 1_Training/Data/Model_Weights/Default and are NOT included in the NPM packaging step - but they are required for the server to run - we need to figure out what to do with them.

@jamestharpe
Copy link
Collaborator

jamestharpe commented Jun 26, 2020

@bleggett - I like the idea you proposed in chat to include a "model data" directory that we can pre-populate w/ out including it in the NPM package.

@bleggett
Copy link
Collaborator Author

FTR here's the full proposal:

  1. Package and ship the NPM package without any default model files at all
  2. Expose a global setting in the Node-RED config file that points to a “modeldata” directory
  3. In our kit, set that modeldata directory to a custom location and stick our default/starter model files there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants