質問編集履歴

1

内容の変更

2020/01/19 01:04

投稿

harunyan333
harunyan333

スコア13

test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  この方のを参考にdrum_kit_rnn.magをダウンロードして
24
24
 
25
- /magenta/magenta/models/drums_rnn/drum_kit_rnn.mag に入れました。
25
+ /Desktop/magenta/magenta/models/drums_rnn/drum_kit_rnn.mag に入れました。
26
26
 
27
27
  そしてsource activate magentaで下記のコマンドを入れました。
28
28
 
@@ -32,9 +32,9 @@
32
32
 
33
33
  --config=drums_rnn \
34
34
 
35
- --bundle_file=~/magenta/magenta/models/drums_rnn/drum_kit_rnn.mag \
35
+ --bundle_file=~/Desktop/magenta/magenta/models/drums_rnn/drum_kit_rnn.mag \
36
36
 
37
- --output_dir=~/magenta/magenta/output \
37
+ --output_dir=~/Desktop/magenta/magenta/output \
38
38
 
39
39
  --num_outputs=10 \
40
40
 
@@ -56,7 +56,7 @@
56
56
 
57
57
 
58
58
 
59
- W0119 09:47:25.406136 4462572992 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py:228: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.
59
+ W0119 09:54:20.424452 4504520128 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py:228: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.
60
60
 
61
61
 
62
62
 
@@ -64,57 +64,133 @@
64
64
 
65
65
 
66
66
 
67
- W0119 09:47:25.406821 4462572992 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/shared/sequence_generator_bundle.py:30: The name tf.gfile.Open is deprecated. Please use tf.io.gfile.GFile instead.
67
+ W0119 09:54:20.425223 4504520128 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/shared/sequence_generator_bundle.py:30: The name tf.gfile.Open is deprecated. Please use tf.io.gfile.GFile instead.
68
68
 
69
69
 
70
70
 
71
- Traceback (most recent call last):
71
+ WARNING:tensorflow:From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py:150: The name tf.gfile.Exists is deprecated. Please use tf.io.gfile.exists instead.
72
72
 
73
- File "/Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/bin/drums_rnn_generate", line 8, in <module>
74
73
 
75
- sys.exit(console_entry_point())
76
74
 
77
- File "/Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py", line 260, in console_entry_point
75
+ W0119 09:54:20.476548 4504520128 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py:150: The name tf.gfile.Exists is deprecated. Please use tf.io.gfile.exists instead.
78
76
 
79
- tf.app.run(main)
80
77
 
81
- File "/Users/ユーザー名a/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/tensorflow_core/python/platform/app.py", line 40, in run
82
78
 
83
- _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
79
+ WARNING:tensorflow:From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py:151: The name tf.gfile.MakeDirs is deprecated. Please use tf.io.gfile.makedirs instead.
84
80
 
85
- File "/Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/absl/app.py", line 299, in run
86
81
 
87
- _run_main(main, args)
88
82
 
89
- File "/Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/absl/app.py", line 250, in _run_main
83
+ W0119 09:54:20.478234 4504520128 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py:151: The name tf.gfile.MakeDirs is deprecated. Please use tf.io.gfile.makedirs instead.
90
84
 
91
- sys.exit(main(argv))
92
85
 
93
- File "/Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py", line 230, in main
94
86
 
95
- bundle = get_bundle()
87
+ WARNING:tensorflow:From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py:208: The name tf.logging.debug is deprecated. Please use tf.compat.v1.logging.debug instead.
96
88
 
97
- File "/Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py", line 130, in get_bundle
98
89
 
99
- return sequence_generator_bundle.read_bundle_file(bundle_file)
100
90
 
101
- File "/Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/shared/sequence_generator_bundle.py", line 32, in read_bundle_file
91
+ W0119 09:54:20.481306 4504520128 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/drums_rnn/drums_rnn_generate.py:208: The name tf.logging.debug is deprecated. Please use tf.compat.v1.logging.debug instead.
102
92
 
103
- bundle.ParseFromString(f.read())
104
93
 
105
- File "/Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/tensorflow_core/python/lib/io/file_io.py", line 122, in read
106
94
 
107
- self._preread_check()
95
+ WARNING:tensorflow:From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/music/model.py:70: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
108
96
 
109
- File "/Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/tensorflow_core/python/lib/io/file_io.py", line 84, in _preread_check
110
97
 
111
- compat.as_bytes(self.__name), 1024 * 512)
112
98
 
113
- tensorflow.python.framework.errors_impl.NotFoundError: /Users/ユーザー名/magenta/magenta/models/drums_rnn/drum_kit_rnn.mag; No such file or directory
99
+ W0119 09:54:20.579112 4504520128 module_wrapper.py:139] From /Users/iユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/music/model.py:70: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
100
+
101
+
102
+
103
+ 2020-01-19 09:54:20.583973: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
104
+
105
+ 2020-01-19 09:54:20.636980: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fe2fead5b00 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
106
+
107
+ 2020-01-19 09:54:20.637019: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
108
+
109
+ WARNING:tensorflow:From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/music/model.py:71: The name tf.train.import_meta_graph is deprecated. Please use tf.compat.v1.train.import_meta_graph instead.
110
+
111
+
112
+
113
+ W0119 09:54:20.641800 4504520128 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/music/model.py:71: The name tf.train.import_meta_graph is deprecated. Please use tf.compat.v1.train.import_meta_graph instead.
114
+
115
+
116
+
117
+ 2020-01-19 09:54:20.698242: W tensorflow/core/framework/op_def_util.cc:357] Op TensorArray is deprecated. It will cease to work in GraphDef version 16. Use TensorArrayV3.
118
+
119
+ 2020-01-19 09:54:20.700002: W tensorflow/core/framework/op_def_util.cc:357] Op TensorArrayScatter is deprecated. It will cease to work in GraphDef version 19. Use TensorArrayGradV3.
120
+
121
+ 2020-01-19 09:54:20.700899: W tensorflow/core/framework/op_def_util.cc:357] Op TensorArrayRead is deprecated. It will cease to work in GraphDef version 16. Use TensorArrayReadV3.
122
+
123
+ 2020-01-19 09:54:20.709968: W tensorflow/core/framework/op_def_util.cc:357] Op TensorArrayWrite is deprecated. It will cease to work in GraphDef version 16. Use TensorArrayWriteV3.
124
+
125
+ 2020-01-19 09:54:20.710308: W tensorflow/core/framework/op_def_util.cc:357] Op TensorArraySize is deprecated. It will cease to work in GraphDef version 16. Use TensorArraySizeV3.
126
+
127
+ 2020-01-19 09:54:20.710620: W tensorflow/core/framework/op_def_util.cc:357] Op TensorArrayGather is deprecated. It will cease to work in GraphDef version 16. Use TensorArrayGatherV3.
128
+
129
+ WARNING:tensorflow:The saved meta_graph is possibly from an older release:
130
+
131
+ 'model_variables' collection should be of type 'byte_list', but instead is of type 'node_list'.
132
+
133
+ W0119 09:54:20.781531 4504520128 meta_graph.py:887] The saved meta_graph is possibly from an older release:
134
+
135
+ 'model_variables' collection should be of type 'byte_list', but instead is of type 'node_list'.
136
+
137
+ INFO:tensorflow:Restoring parameters from /var/folders/53/5c2q4gbx4ld2_py0h_8dtdv40000gn/T/tmp8tqcmkdz/model.ckpt
138
+
139
+ I0119 09:54:20.784827 4504520128 saver.py:1284] Restoring parameters from /var/folders/53/5c2q4gbx4ld2_py0h_8dtdv40000gn/T/tmp8tqcmkdz/model.ckpt
140
+
141
+ WARNING:tensorflow:From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/shared/sequence_generator.py:159: The name tf.gfile.DeleteRecursively is deprecated. Please use tf.io.gfile.rmtree instead.
142
+
143
+
144
+
145
+ W0119 09:54:21.023826 4504520128 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/shared/sequence_generator.py:159: The name tf.gfile.DeleteRecursively is deprecated. Please use tf.io.gfile.rmtree instead.
146
+
147
+
148
+
149
+ WARNING:tensorflow:From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/shared/events_rnn_model.py:380: The name tf.logging.info is deprecated. Please use tf.compat.v1.logging.info instead.
150
+
151
+
152
+
153
+ W0119 09:54:21.560704 4504520128 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/models/shared/events_rnn_model.py:380: The name tf.logging.info is deprecated. Please use tf.compat.v1.logging.info instead.
154
+
155
+
156
+
157
+ INFO:tensorflow:Beam search yields sequence with log-likelihood: -37.551918
158
+
159
+ I0119 09:54:21.560995 4504520128 events_rnn_model.py:381] Beam search yields sequence with log-likelihood: -37.551918
160
+
161
+ WARNING:tensorflow:From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/music/midi_io.py:220: The name tf.gfile.Copy is deprecated. Please use tf.io.gfile.copy instead.
162
+
163
+
164
+
165
+ W0119 09:54:21.588675 4504520128 module_wrapper.py:139] From /Users/ユーザー名/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/magenta/music/midi_io.py:220: The name tf.gfile.Copy is deprecated. Please use tf.io.gfile.copy instead.
166
+
167
+
168
+
169
+ INFO:tensorflow:Beam search yields sequence with log-likelihood: -44.038765
170
+
171
+ I0119 09:54:21.994347 4504520128 events_rnn_model.py:381] Beam search yields sequence with log-likelihood: -44.038765
172
+
173
+ INFO:tensorflow:Beam search yields sequence with log-likelihood: -99.669579
174
+
175
+ I0119 09:54:22.395879 4504520128 events_rnn_model.py:381] Beam search yields sequence with log-likelihood: -99.669579
176
+
177
+ INFO:tensorflow:Beam search yields sequence with log-likelihood: -23.765722
178
+
179
+ I0119 09:54:22.827630 4504520128 events_rnn_model.py:381] Beam search yields sequence with log-likelihood: -23.765722
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+ INFO:tensorflow:Wrote 10 MIDI files to /Users/ユーザー名/Desktop/magenta/magenta/output
188
+
189
+ I0119 09:54:25.575386 4504520128 drums_rnn_generate.py:223] Wrote 10 MIDI files to /Users/ユーザー名/Desktop/magenta/magenta/output
114
190
 
115
191
  ```
116
192
 
117
- という警告が3つほど出ました。
193
+ という警告などが出ました。
118
194
 
119
195
 
120
196