nsynth_generate fails with Abseil error (audio generation docs need updating)
Followed audio generation instructions and everything went fine until I got to executing nsynth_generate which, with or without arguments, fails with:
andrew@blast:/data/Liles/nsynth/open-nsynth-super/audio/workdir$ nsynth_generate
WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/magenta/models/nsynth/wavenet/masked.py:116: init (from tensorflow.python.ops.init_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.initializers.variance_scaling instead with distribution=uniform to get equivalent behavior.
Traceback (most recent call last):
File "/usr/local/bin/nsynth_generate", line 7, in
Any suggestions as to a remedy would be much appreciated!
@jesseengel any thoughts on this?
@nsynthsuper ?
Sorry it took so long to respond. I just tested with head of magenta and nsynth_generate seems to work fine.
I think the problem is that directions for setting up the environment in https://github.com/googlecreativelab/open-nsynth-super/tree/master/audio are old now. It's actually pulling from a stale branch of my personal repo.
It should be sufficient to just follow the install istructions at https://github.com/tensorflow/magenta and do pip install magenta-gpu or pip install magenta and then pip install tensorflow-gpu.
@nsynthsuper, want to verify and update the docs?
Many thanks, this did the trick!