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

ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type numpy.ndarray) during generation #3

Open
vivianos opened this issue Oct 28, 2020 · 1 comment

Comments

@vivianos
Copy link

ValueError when trying to generate a midi file. Resolved by converting prediction_input to array.
prediction_input = np.asarray(prediction_input).astype(np.float32)

@Baibhav-nag
Copy link

ValueError when trying to generate a midi file. Resolved by converting prediction_input to array. prediction_input = np.asarray(prediction_input).astype(np.float32)

Thank you so so much...extremely grateful to you...I had the same error and it is solved now due to you...thank you once again

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