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

OOM crash on MIDI file where note timestamp invalid #27

Open
anarkiwi opened this issue Jan 9, 2021 · 2 comments
Open

OOM crash on MIDI file where note timestamp invalid #27

anarkiwi opened this issue Jan 9, 2021 · 2 comments

Comments

@anarkiwi
Copy link

anarkiwi commented Jan 9, 2021

crash.mid is attached.

josh@vek-x:~/tmp$ uname -a
Linux vek-x 5.4.0-59-generic #65-Ubuntu SMP Thu Dec 10 12:01:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
josh@vek-x:~/tmp$ python3
Python 3.8.5 (default, Jul 28 2020, 12:59:40) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> ^D
josh@vek-x:~/tmp$ midicsv dm-mid/crash/crash.mid 
0, 0, Header, 0, 1, 96
1, 0, Start_track
1, 0, Title_t, "\000"
1, 0, Time_signature, 4, 2, 36, 8
1, 0, Time_signature, 4, 2, 36, 8
1, 2147483647, Note_on_c, 0, 58, 100
1, 2147483647, Note_on_c, 0, 53, 100
1, 2147483647, Note_off_c, 0, 58, 64
1, 2147483647, Note_off_c, 0, 53, 64
1, 2147483647, End_track
0, 0, End_of_file
josh@vek-x:~/tmp$ pip3 show note-seq
Name: note-seq
Version: 0.0.2
Summary: Use machine learning to create art and music
Home-page: https://magenta.tensorflow.org/
Author: Google Inc.
Author-email: [email protected]
License: Apache 2
Location: /usr/local/lib/python3.8/dist-packages
Requires: librosa, attrs, bokeh, absl-py, numpy, scipy, pretty-midi, numba, protobuf, intervaltree, IPython, pydub, pandas
Required-by: magenta
josh@vek-x:~/tmp$ pip3 show magenta
Name: magenta
Version: 2.1.3
Summary: Use machine learning to create art and music
Home-page: https://magenta.tensorflow.org/
Author: Google Inc.
Author-email: [email protected]
License: Apache 2
Location: /usr/local/lib/python3.8/dist-packages
Requires: scikit-image, numba, tensorflow-probability, sk-video, matplotlib, mir-eval, dm-sonnet, absl-py, wheel, pygtrie, librosa, sox, dopamine-rl, pretty-midi, tensorflow, numpy, python-rtmidi, Pillow, scipy, tensor2tensor, tf-slim, six, mido, tensorflow-datasets, imageio, note-seq
Required-by: 
josh@vek-x:~/tmp$ convert_dir_to_note_sequences --input_dir=dm-mid/crash --output_file=magenta/dm.tfrecord 
2021-01-09 22:10:43.217451: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2021-01-09 22:10:43.217560: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
WARNING:tensorflow:From /usr/local/lib/python3.8/dist-packages/tensorflow/python/compat/v2_compat.py:96: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
INFO:tensorflow:Converting files in 'dm-mid/crash/'.
I0109 22:10:46.468066 139996452947776 convert_dir_to_note_sequences.py:83] Converting files in 'dm-mid/crash/'.
INFO:tensorflow:0 files converted.
I0109 22:10:46.468371 139996452947776 convert_dir_to_note_sequences.py:88] 0 files converted.
Killed
@anarkiwi
Copy link
Author

anarkiwi commented Jan 9, 2021

crash.zip

@cghawthorne
Copy link
Contributor

Does the comment added in #30 address this issue?

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