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
15
votes
6 answers

CuDNN library compatibility error after loading model weights

I am trying to load NSynth weights and I am using tf version 1.7.0 from magenta.models.nsynth import utils from magenta.models.nsynth.wavenet import fastgen def wavenet_encode(file_path): # Load the model weights. checkpoint_path =…
user3776458
  • 151
  • 1
  • 1
  • 4
4
votes
1 answer

magenta.js Visualizer() renders blurry notes

I've noticed that whenever I use magenta.js's built in Visualizer method, it renders ever so slightly blurry (perhaps an anti-aliasing issue?) notes. I've attached an image: I can see this with varying intensities across many of the…
user8887068
3
votes
2 answers

Magenta installation using "pip install magenta" having errors even on fresh environments

I have been attempting to install magenta on anaconda for a few days now, but every time I feel like I'm getting close to achieving an actual functional environment that can run it, I run into errors. Originally I thought the issue might be some…
Syzygyn
  • 58
  • 6
3
votes
0 answers

Use Sketch-RNN model (from tensorflow/magenta) with Sketch-RNN-JS

I'm currently playing around with Sketch-RNN-JS. But instead of using the pre-trained models from Quick Draw (like described in the readme of the project) I was trying to train my own model with magenta's Sketch-RNN. The result of this training…
TiPE
  • 412
  • 1
  • 3
  • 9
3
votes
1 answer

Bazel error: "No test targets were found, yet testing was requested"

I have a small assignment where I used TensorFlow to create music: https://github.com/tensorflow/magenta When I run the code --- bazel test //magenta:all I get the following error: WARNING:…
han
  • 31
  • 1
  • 2
2
votes
0 answers

python setup.py bdist_wheel did not run successfully - when installing magenta

I am facing an issue while installing the "magenta" package in my python 3.9.12 architecture while using the command pip install magenta. It retrieves an error when getting to the point Building wheels for collected packages: llvmlite Created…
ricmhl
  • 21
  • 1
2
votes
0 answers

Cannot install python-rtmidi during magenta installation

I'm trying to install package magenta for an university project. I can't manage to install it due to some issues with python-rtmidi setup.py installation. When i prompt "pip install magenta" in the command line i get this error: Running setup.py…
2
votes
0 answers

Generate songs based off of inputted songs using Tensorflow's Magenta in Node.js

I'm wondering if it's possible to input a bunch of songs into Magenta and get an output that mimics those songs using AI (something that I feel like Magenta should be able to do). For example, I could input a bunch of Beatles songs and get a song…
divinelemon
  • 1,925
  • 2
  • 23
2
votes
0 answers

Tensorflow, using T2T, is unable to allocate GPU memory even with tons of available memory

I am attempting to train a custom model in magenta, which piggybacks off tensorflow-gpu. The issue is that no matter what, tensorflow is unable to properly allocate my GPU memory and start training. For the record, here is the command I am…
conspiracy
  • 21
  • 1
2
votes
0 answers

Segmentation fault while running melody_rnn_train using magenta-gpu

env: ubuntu-18.04 python - 2.7.15rc1 GPU 0 : GeForce RTX 2080Ti and GPU 1 : P1000 Quadro CUDA : 9.1.85 tensorflow : 1.12.0 pip install magenta-gpu If I do pip install magenta and then run melody_rnn_train, the training step goes through, with my…
John
  • 21
  • 1
2
votes
1 answer

Magenta multistyle pastiche generator only generates solid black images?

I've been playing around with the Magenta Multistyle Pastiche Generator, but so far it will only generate solid black images. Someone on a GitHub forum had the same problem, and apparently Magenta is only compatible on CPU with TensorFlow 1.0.1?…
nburley
  • 50
  • 6
2
votes
1 answer

What is the expected output of magenta BUILD targets, and expected build path behaviour?

Magenta is an awesome project. Thank you so much for opening it up! I'm posting in 'tensorflow' because 'tensorflow-magenta' isn't open yet and I don't have enough reputation to christen it. Perhaps someone could tag this appropiately? PROBLEM…
pland
  • 858
  • 1
  • 9
  • 17
1
vote
0 answers

Is there a way to generate melodies in specific key by fine-tuning MusicVAE model

I wanted to know if it was possible to fine-tune the options of the magenta MusicVAE or MusicRNN model to produce melodies of a specific key. Looked through the code and saw a MusicVAESpec object and a MusicVAEControlArgs object to help with the…
Yaw Botwe
  • 11
  • 1
1
vote
1 answer

Failed building wheel for python-rtmidi

I'm trying to import magenta to use wavenet, however it always fails and I cannot find any useful information online. It keeps give me this error information Building wheels for collected packages: numba, python-rtmidi, llvmlite Building wheel for…
1
vote
0 answers

executing magenta with tensorflow architecture problem

I have a problem using TensorFlow and Magenta. I've installed version 1.12 of TensorFlow, version 4.0 of Magenta and Python 3.10, I am using a Mac M1 terminal with and without Rosetta option checked. When I try to run this…
sickobb
  • 13
  • 5
1
2 3 4 5