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

MusicVAE.interpolate() throws an error when inteprolating 4 sequences inside Web Workers #578

Open
HenriAugusto opened this issue Jul 19, 2021 · 1 comment

Comments

@HenriAugusto
Copy link

Hi!

I've was trying to interpolating between 4 sequences with MusicVAE inside a dedicated workers and got an error.

Steps to reproduce:

  1. Create a Worker:
  2. Create a MusicVAE instance¹
  3. Call .interpolate() with an array of 4 note sequences.

¹ tested with two checkpoints: one, two

I've attached an example project with a MCVE: Magenta Issue 578 - Bug MCVE.zip

Note the relevant lines inside main.js and worker.js are identical.

My console output on MS EDGE:

image

@HenriAugusto
Copy link
Author

It is related to tfjs.

Works with tfjs 2.8.6.
Doesn't with tfjs 3.0.0

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

1 participant