Magentaで音楽データを学習させるため、MIDIをNoteSequence(tfrecord)に変換したいのですが、エラーが出て処理がされません。
Pythonを始めてまだ数日で、解決方法が全く分からない状況です。
ご指導よろしくお願い致します。
実行したコード
Python
1(magenta-env) User-name@MacBook-Air ~ % convert_dir_to_note_sequences \ 2> --input_dir= /Users/User-name/desktop/Midi \ 3> --output_file= /Users/User-name/desktop/noteseq/notesequences.tfrecord \ 4> --recursive
表示されたエラー
Python
1/Users/User-name/magenta-env/lib/python3.8/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work 2 warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning) 3WARNING:tensorflow:From /Users/User-name/magenta-env/lib/python3.8/site-packages/tensorflow/python/compat/v2_compat.py:107: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version. 4Instructions for updating: 5non-resource variables are not supported in the long term 6CRITICAL:tensorflow:--input_dir required 7E0410 09:12:40.813642 4474011136 convert_dir_to_note_sequences.py:243] CRITICAL - --input_dir required
環境
MacOS 11.6.3
pip 22.0.4
Python 3.8.2
TensorFlow 2.8.0
Magenta 2.1.3
あなたの回答
tips
プレビュー