Comments (7)
What is in createSequence.sh ?
from magenta.
$ cat createSequence.sh
MIDI_DIRECTORY=/home/oatmeal/HiMusic/MIDI/Dance
SEQUENCES_TFRECORD=/home/oatmeal/HiMusic/Output/Dance_sequences.tfrecord
bazel run //magenta/scripts:convert_midi_dir_to_note_sequences --
--midi_dir=$MIDI_DIRECTORY
--output_file=$SEQUENCES_TFRECORD
--recursive
from magenta.
Can you run with the --alsologtostderr flag and share the output?
So it would be
bazel run //magenta/scripts:convert_midi_dir_to_note_sequences --
--midi_dir=$MIDI_DIRECTORY
--output_file=$SEQUENCES_TFRECORD
--recursive
--alsologtostderr
from magenta.
Outputs are the same after adding the flag.
WARNING: /home/oatmeal/.cache/bazel/_bazel_oatmeal/c3300a0566708e561674ab71c996c139/external/protobuf/WORKSPACE:1: Workspace name in /home/oatmeal/.cache/bazel/_bazel_oatmeal/c3300a0566708e561674ab71c996c139/external/protobuf/WORKSPACE (@main) does not match the name given in the repository's definition (@protobuf); this will cause a build error in future versions.
INFO: Found 1 target...
Target //magenta/scripts:convert_midi_dir_to_note_sequences up-to-date:
bazel-bin/magenta/scripts/convert_midi_dir_to_note_sequences
INFO: Elapsed time: 0.264s, Critical Path: 0.00s
INFO: Running command line: bazel-bin/magenta/scripts/convert_midi_dir_to_note_sequences '--midi_dir=/home/oatmeal/HiMusic/MIDI/Dance' '--output_file=/home/oatmeal/HiMusic/Output/Dance_sequences.tfrecord' --recursive --alsologtostderr
ERROR: Non-zero return code '245' from command: Process exited with status 245.
from magenta.
Hmm I am still not sure what is producing the error code.
Can you do two things?
Run the binary without bazel (just run the command that bazel prints in the INFO statement). Just to be sure this is not related to bazel.
bazel-bin/magenta/scripts/convert_midi_dir_to_note_sequences '--midi_dir=/home/oatmeal/HiMusic/MIDI/Dance' '--output_file=/home/oatmeal/HiMusic/Output/Dance_sequences.tfrecord' --recursive --alsologtostderr
Second thing is to see if importing tensorflow works. From doing a bit of googling this sounds like an issue with your tensorflow install. You can just delete everything in convert_midi_dir_to_note_sequences.py and replace it with one line: "import tensorflow as tf"
Build and run the binary again.
from magenta.
It turned out that it is due to the corruption of tensorflow installation. Previously it had been successfully installed, but somehow it cannot work any more, then I reinstalled tensorflow and the problem just disappear.
Thanks very much!!
from magenta.
Glad you figured it out.
from magenta.
Related Issues (20)
- Widget becomes black when clicking on another track and clicking back on Magenta's track HOT 1
- afscheidsliedje collega
- conditionOnKey doesn't seem to work
- Unable to train Magenta DDSP VST HOT 1
- AttributeError: module 'fluidsynth' has no attribute 'Synth'
- can not install magenta in google colaboratory HOT 9
- Broken links in NSynth database website
- Docker or Silicon in late 2023 HOT 2
- How to run Train_VST.ipynb locally
- Ableton crashes when I drag 'magenta_studio-2.0.0.amxd' into it
- Examples
- pip install magentaできない
- ImportError
- Fine-tuning MusicVAE
- Noise in NSynth Dataset
- magenta installing HOT 2
- Elon Musk HOT 1
- music_vae_train.py Fatal Python error: Segmentation fault
- There is no "checkpoint" file
- Getting Embeddings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magenta.