Questions tagged [magenta]

Questions related to the Magenta project from the Google Brain team. The project is using [tensorflow] and is an attempt to create art and music with machine learning.

Resources:

65 questions
0
votes
1 answer

convert const async function into React

I have a React class that where i'm taking a vanilla js program, and trying to implement it as a React class. The end state should be a music generator. Right now, im getting audio which is great, but it is just a static sequence. The cool part is…
neutrino
  • 894
  • 8
  • 23
0
votes
1 answer

translating vanilla JavaScript to React component

im trying to understand how we can translate a very simple javascript program into ReactJS. My limited front end experience is with React, where things are wrapped in components or functions to render output. This simple program has 3 components,…
neutrino
  • 894
  • 8
  • 23
0
votes
0 answers

Magenta: how to execute shell file containing HTML code? (syntax error near unexpected token 'newline')

I am trying to work with the open source models offered by Magenta in Python on Ubuntu, in context of automatic music generation. I've been able to make some of the models work (like the Melody RNN one), but I'm having troubles with Coconet, more…
0
votes
2 answers

How to setup magenta music framework in Vue or Nuxt

I want to understand the proper way to setup magenta music framework in Vue or Nuxt template. So far, I am unable to find an example. Can somebody help me with this setup? I am following the hello world example for magenta music from…
0
votes
1 answer

How to import local model into Magenta MusicRNN?

I have trained my model locally using the python libraries and got the 3 files: ckpt.index ckpt.meta ckpt.data After that, I have followed the steps on this page, under "Dumping Your Weights" and now I also…
0
votes
2 answers

Sketch_RNN , ValueError: Cannot feed value of shape

I get the following error: ValueError: Cannot feed value of shape (1, 251, 5) for Tensor u'vector_rnn_1/Placeholder_1:0', which has shape '(1, 117, 5)' when running code from…
sc3_2
  • 51
  • 5
0
votes
1 answer

TensorFlow: extract data with a given feature, from NSynth Dataset

I have a data set of TFRecord files of serialized TensorFlow Example protocol buffers with one Example proto per note, downloaded from https://magenta.tensorflow.org/datasets/nsynth. I am using the test set, which is approximately 1 Gb, in case…
Mencia
  • 848
  • 2
  • 11
  • 19
0
votes
0 answers

Illegal instruction (core dumped) error when running magenta tensorflow

This is my output from the terminal. Just trying to run a basic example... ~$ source activate magenta (magenta)~$ melody_rnn_generate --config=basic_rnn --bundle_file=~/basic_rnn.mag --output_dir=~/melodies --num_outputs=10 --num_steps=128…
gabriel gras
  • 91
  • 1
  • 3
0
votes
0 answers

Magenta Performance RNN Demo with own MIDI Data

thanks so much for all your efforts bringing magenta closer to artistic dudes like me. I'm currently trying to port the performance_rnn browser model (https://magenta.tensorflow.org/performance-rnn-browser) using tensorflow.js with my own trained…
ChrisLos
  • 13
  • 2
0
votes
2 answers

Error using dynamic rnn (magenta) : Dimensions of inputs should match: shape[0] = [1,38] vs. shape[1] = [128,512]

So I am running this code from magenta with some modifications: outputs, final_state = tf.nn.dynamic_rnn( self.cell, m_seq, sequence_length=lens, initial_state=initial_state, …
0
votes
0 answers

Magmi DataPump integration (Magento 1.9)

I can't figure out how Magmi DataPump works. I have successful installed Magmi with test script…
Melixion
  • 457
  • 1
  • 5
  • 17
0
votes
1 answer

How to restrict the melody_rnn output scope to a given list of pitches?

I'm using magenta and tensorflow to generate some music via the pre-trained models from melody_rnn. As I understand, at the moment the output generated sequence can have notes between a range of MIDI pitches. Now, let's say I only want to output…
agatheblues
  • 229
  • 1
  • 10
0
votes
4 answers

Unable to initialize a capture session in the Magenta MIDI Interface

I have followed the instruction in Magenta MIDI Interface, but failed to start a capture session. Basically nothing happens even after I set the modulation wheel in VMPK (Virtual MIDI Piano Keyboard) to its max value, which is 127. I used the…
tanemaki
  • 4,849
  • 1
  • 12
  • 6
0
votes
1 answer

Bazel test build fails

I'm using anaconda env. for building magenta, and followed the installation steps as per the README After running the command bazel test //magenta/... it says Executed 5 out of 5 tests: 5 fail locally The test.log is as follows Traceback (most…
0
votes
1 answer

NoteSequence Protobuf Decode Error

I'm trying to import a NoteSequence file into Magenta and am getting 'google.protobuf.message.DecodeError: Unexpected end-group tag.' in.seq id: "/id/midi/tmp/3d8d5785f488ffd8875f10a12858c6f6c2152068" filename: "example.mid" collection_name:…
New User
  • 15
  • 3