質問編集履歴
2
自己解決しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -74,6 +74,16 @@
|
|
74
74
|
|
75
75
|
### 補足情報(FW/ツールのバージョンなど)
|
76
76
|
|
77
|
+
自己解決しました。
|
77
78
|
|
78
79
|
|
80
|
+
|
81
|
+
raccoon-colab.jsonを
|
82
|
+
|
83
|
+
一度削除して再度編集しました。
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
その後、ファイル形式とエンコードを確認。
|
88
|
+
|
79
|
-
|
89
|
+
正常に動作しました。
|
1
matplotlib のバージョンを、アップデートした
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
axelerateのインストールで、
|
1
|
+
axelerateのインストールで、エラーメッセージが出る。
|
test
CHANGED
@@ -28,293 +28,33 @@
|
|
28
28
|
|
29
29
|
```
|
30
30
|
|
31
|
-
$
|
31
|
+
$ python ./axelerate/train.py -c ./configs/raccoon-colab.json
|
32
32
|
|
33
|
-
|
33
|
+
Using TensorFlow backend.
|
34
34
|
|
35
|
-
r
|
35
|
+
Traceback (most recent call last):
|
36
36
|
|
37
|
-
r
|
37
|
+
File "./axelerate/train.py", line 170, in <module>
|
38
38
|
|
39
|
-
|
39
|
+
setup_training(config_file=args.config)
|
40
40
|
|
41
|
-
|
41
|
+
File "./axelerate/train.py", line 141, in setup_training
|
42
42
|
|
43
|
-
|
43
|
+
config = json.loads(config_buffer.read())
|
44
44
|
|
45
|
-
|
45
|
+
File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
|
46
46
|
|
47
|
-
re
|
47
|
+
return _default_decoder.decode(s)
|
48
48
|
|
49
|
-
|
49
|
+
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
|
50
50
|
|
51
|
-
|
51
|
+
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
|
52
52
|
|
53
|
-
r
|
53
|
+
File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
|
54
54
|
|
55
|
-
r
|
55
|
+
raise JSONDecodeError("Expecting value", s, err.value) from None
|
56
56
|
|
57
|
-
creating build/bdist.linux-x86_64/egg
|
58
|
-
|
59
|
-
creating build/bdist.linux-x86_64/egg/axelerate
|
60
|
-
|
61
|
-
(中略)
|
62
|
-
|
63
|
-
Processing axelerate-0.5.9-py3.7.egg
|
64
|
-
|
65
|
-
removing '/usr/local/lib/python3.7/dist-packages/axelerate-0.5.9-py3.7.egg' (and everything under it)
|
66
|
-
|
67
|
-
creating /usr/local/lib/python3.7/dist-packages/axelerate-0.5.9-py3.7.egg
|
68
|
-
|
69
|
-
Extracting axelerate-0.5.9-py3.7.egg to /usr/local/lib/python3.7/dist-packages
|
70
|
-
|
71
|
-
|
57
|
+
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
Installed /usr/local/lib/python3.7/dist-packages/axelerate-0.5.9-py3.7.egg
|
76
|
-
|
77
|
-
Processing dependencies for axelerate==0.5.9
|
78
|
-
|
79
|
-
error: Pillow 5.4.1 is installed but pillow>=6.2.0 is required by {'matplotlib'}
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
```
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
### pip list
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
```ここに言語名を入力
|
92
|
-
|
93
|
-
Package Version
|
94
|
-
|
95
|
-
------------------------ --------------------
|
96
|
-
|
97
|
-
absl-py 0.9.0
|
98
|
-
|
99
|
-
appdirs 1.4.4
|
100
|
-
|
101
|
-
asn1crypto 0.24.0
|
102
|
-
|
103
|
-
astor 0.8.1
|
104
|
-
|
105
|
-
astunparse 1.6.3
|
106
|
-
|
107
|
-
attrs 19.3.0
|
108
|
-
|
109
|
-
axelerate 0.5.9
|
110
|
-
|
111
|
-
Brlapi 0.6.7
|
112
|
-
|
113
|
-
cachetools 4.1.1
|
114
|
-
|
115
|
-
certifi 2018.8.24
|
116
|
-
|
117
|
-
chardet 3.0.4
|
118
|
-
|
119
|
-
chrome-gnome-shell 0.0.0
|
120
|
-
|
121
|
-
cryptography 2.6.1
|
122
|
-
|
123
|
-
cupshelpers 1.0
|
124
|
-
|
125
|
-
cycler 0.10.0
|
126
|
-
|
127
|
-
decorator 4.4.2
|
128
|
-
|
129
|
-
dill 0.3.2
|
130
|
-
|
131
|
-
distlib 0.3.1
|
132
|
-
|
133
|
-
distro 1.3.0
|
134
|
-
|
135
|
-
distro-info 0.21
|
136
|
-
|
137
|
-
entrypoints 0.3
|
138
|
-
|
139
|
-
filelock 3.0.12
|
140
|
-
|
141
|
-
future 0.18.2
|
142
|
-
|
143
|
-
gast 0.2.2
|
144
|
-
|
145
|
-
google-auth 1.19.2
|
146
|
-
|
147
|
-
google-auth-oauthlib 0.4.1
|
148
|
-
|
149
|
-
google-pasta 0.2.0
|
150
|
-
|
151
|
-
googleapis-common-protos 1.52.0
|
152
|
-
|
153
|
-
grpcio 1.30.0
|
154
|
-
|
155
|
-
h5py 2.10.0
|
156
|
-
|
157
|
-
httplib2 0.11.3
|
158
|
-
|
159
|
-
idna 2.6
|
160
|
-
|
161
|
-
imageio 2.9.0
|
162
|
-
|
163
|
-
imgaug 0.4.0
|
164
|
-
|
165
|
-
importlib-metadata 1.7.0
|
166
|
-
|
167
|
-
joblib 0.16.0
|
168
|
-
|
169
|
-
Keras 2.3.1
|
170
|
-
|
171
|
-
Keras-Applications 1.0.8
|
172
|
-
|
173
|
-
Keras-Preprocessing 1.1.2
|
174
|
-
|
175
|
-
keyring 17.1.1
|
176
|
-
|
177
|
-
keyrings.alt 3.1.1
|
178
|
-
|
179
|
-
kiwisolver 1.2.0
|
180
|
-
|
181
|
-
louis 3.8.0
|
182
|
-
|
183
|
-
lxml 4.5.2
|
184
|
-
|
185
|
-
Mako 1.0.7
|
186
|
-
|
187
|
-
Markdown 3.2.2
|
188
|
-
|
189
|
-
MarkupSafe 1.1.0
|
190
|
-
|
191
|
-
matplotlib 3.3.0
|
192
|
-
|
193
|
-
networkx 2.4
|
194
|
-
|
195
|
-
numpy 1.19.0
|
196
|
-
|
197
|
-
oauthlib 3.1.0
|
198
|
-
|
199
|
-
olefile 0.46
|
200
|
-
|
201
|
-
opencv-python 4.3.0.36
|
202
|
-
|
203
|
-
opt-einsum 3.3.0
|
204
|
-
|
205
|
-
pexpect 4.6.0
|
206
|
-
|
207
|
-
Pillow 7.2.0
|
208
|
-
|
209
|
-
pip 20.1.1
|
210
|
-
|
211
|
-
promise 2.3
|
212
|
-
|
213
|
-
protobuf 3.12.2
|
214
|
-
|
215
|
-
pyasn1 0.4.8
|
216
|
-
|
217
|
-
pyasn1-modules 0.2.8
|
218
|
-
|
219
|
-
pycairo 1.16.2
|
220
|
-
|
221
|
-
pycrypto 2.6.1
|
222
|
-
|
223
|
-
pycups 1.9.73
|
224
|
-
|
225
|
-
pycurl 7.43.0.2
|
226
|
-
|
227
|
-
PyGObject 3.30.4
|
228
|
-
|
229
|
-
pyparsing 2.4.7
|
230
|
-
|
231
|
-
PyQt5 5.15.0
|
232
|
-
|
233
|
-
PyQt5-sip 12.8.0
|
234
|
-
|
235
|
-
PySimpleSOAP 1.16.2
|
236
|
-
|
237
|
-
pysmbc 1.0.15.6
|
238
|
-
|
239
|
-
python-apt 1.8.4.1
|
240
|
-
|
241
|
-
python-dateutil 2.8.1
|
242
|
-
|
243
|
-
python-debian 0.1.35
|
244
|
-
|
245
|
-
python-debianbts 2.8.2
|
246
|
-
|
247
|
-
PyWavelets 1.1.1
|
248
|
-
|
249
|
-
pyxdg 0.25
|
250
|
-
|
251
|
-
PyYAML 5.3.1
|
252
|
-
|
253
|
-
reportbug 7.5.3-deb10u1
|
254
|
-
|
255
|
-
reportlab 3.5.13
|
256
|
-
|
257
|
-
requests 2.21.0
|
258
|
-
|
259
|
-
requests-oauthlib 1.3.0
|
260
|
-
|
261
|
-
rsa 4.6
|
262
|
-
|
263
|
-
scikit-image 0.17.2
|
264
|
-
|
265
|
-
scikit-learn 0.23.1
|
266
|
-
|
267
|
-
scipy 1.4.1
|
268
|
-
|
269
|
-
SecretStorage 2.3.1
|
270
|
-
|
271
|
-
setuptools 49.2.0
|
272
|
-
|
273
|
-
Shapely 1.7.0
|
274
|
-
|
275
|
-
six 1.12.0
|
276
|
-
|
277
|
-
sklearn 0.0
|
278
|
-
|
279
|
-
tb-nightly 1.15.0a20190806
|
280
|
-
|
281
|
-
tensorboard 1.15.0
|
282
|
-
|
283
|
-
tensorboard-plugin-wit 1.7.0
|
284
|
-
|
285
|
-
tensorflow 1.15.3
|
286
|
-
|
287
|
-
tensorflow-datasets 3.2.1
|
288
|
-
|
289
|
-
tensorflow-estimator 1.15.1
|
290
|
-
|
291
|
-
tensorflow-metadata 0.22.2
|
292
|
-
|
293
|
-
termcolor 1.1.0
|
294
|
-
|
295
|
-
tf-estimator-nightly 1.14.0.dev2019080601
|
296
|
-
|
297
|
-
threadpoolctl 2.1.0
|
298
|
-
|
299
|
-
tifffile 2020.7.17
|
300
|
-
|
301
|
-
tqdm 4.48.0
|
302
|
-
|
303
|
-
ufw 0.36
|
304
|
-
|
305
|
-
unattended-upgrades 0.1
|
306
|
-
|
307
|
-
urllib3 1.24.1
|
308
|
-
|
309
|
-
virtualenv 20.0.27
|
310
|
-
|
311
|
-
Werkzeug 1.0.1
|
312
|
-
|
313
|
-
wheel 0.32.3
|
314
|
-
|
315
|
-
wrapt 1.12.1
|
316
|
-
|
317
|
-
zipp 3.1.0
|
318
58
|
|
319
59
|
```
|
320
60
|
|
@@ -322,45 +62,13 @@
|
|
322
62
|
|
323
63
|
### 試したこと
|
324
64
|
|
65
|
+
上のエラーメッセージが出る前は、matplotlib のバージョンが古いと出ていた。
|
325
66
|
|
326
|
-
|
327
|
-
python2.7と、python3.7が混在していた。
|
328
|
-
|
329
|
-
|
67
|
+
次のコマンドを実施
|
330
68
|
|
331
69
|
```
|
332
70
|
|
333
|
-
$p
|
334
|
-
|
335
|
-
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
|
336
|
-
|
337
|
-
[GCC 8.3.0] on linux
|
338
|
-
|
339
|
-
Type "help", "copyright", "credits" or "license" for more information.
|
340
|
-
|
341
|
-
>>> import sys
|
342
|
-
|
343
|
-
File "<stdin>", line 1
|
344
|
-
|
345
|
-
import sys
|
346
|
-
|
347
|
-
^
|
348
|
-
|
349
|
-
IndentationError: unexpected indent
|
350
|
-
|
351
|
-
>>> import sys
|
352
|
-
|
353
|
-
>>> print(sys.version)
|
354
|
-
|
355
|
-
3.7.3 (default, Dec 20 2019, 18:57:59)
|
356
|
-
|
357
|
-
[GCC 8.3.0]
|
358
|
-
|
359
|
-
>>> print(sys.path)
|
360
|
-
|
361
|
-
['', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/home/ai5f/.local/lib/python3.7/site-packages', '/usr/local/lib/python3.7/dist-packages', '/usr/local/lib/python3.7/dist-packages/axelerate-0.5.9-py3.7.egg', '/usr/local/lib/python3.7/dist-packages/sklearn-0.0-py3.7.egg', '/usr/local/lib/python3.7/dist-packages/Keras-2.3.1-py3.7.egg', '/usr/local/lib/python3.7/dist-packages/tensorflow-1.15.3-py3.7-linux-x86_64.egg', '/usr/lib/python3/dist-packages']
|
362
|
-
|
363
|
-
>>>
|
71
|
+
$ sudo pip install -U matplotlib
|
364
72
|
|
365
73
|
```
|
366
74
|
|
@@ -368,4 +76,4 @@
|
|
368
76
|
|
369
77
|
|
370
78
|
|
371
|
-
|
79
|
+
特になし
|