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

Fix timeout when creating model and matrix #13

Open
vigliensoni opened this issue Jul 21, 2020 · 2 comments
Open

Fix timeout when creating model and matrix #13

vigliensoni opened this issue Jul 21, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@vigliensoni
Copy link
Owner

When saving a model, the matrix generation is taking a long time (30x30 = 900 sampled points). I'm getting the following error from Node:

node: stack Error: Max API Message Request timed out. id: u15569491665
    at makeError (/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/Max/Max.app/Contents/Resources/C74/packages/Node For Max/source/lib/api/index.js:9:14)
    at Timeout._onTimeout (/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/Max/Max.app/Contents/Resources/C74/packages/Node For Max/source/lib/api/index.js:178:12)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)

I should take a look into asynchronous call to the function that is generating and saving the matrix.

@vigliensoni vigliensoni added the bug Something isn't working label Jul 21, 2020
@vigliensoni
Copy link
Owner Author

As of now, two sets of files are generated:

  • A set for the visualizer:
  • model_XXX_YYYmodel-matrix-LS.data
  • model_XXX_YYYmodel-matrix-vis.data
  • A model for the latent space as a TF model:
  • model.json
  • weights.bin

With the current version, I can do one or the other, not both at the same time for the timeout issue. I should look into async calls.

@vigliensoni
Copy link
Owner Author

vigliensoni commented Jul 21, 2020

The issue seems to have been fixed in b622022 but still testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant