エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
toimage (from PIL.Image import fromarray as toimage)で出たエラーを解消する方法 - Qiita
toimage (from PIL.Image import fromarray as toimage)で出たエラーを解消する方法PythonJupyter for i... toimage (from PIL.Image import fromarray as toimage)で出たエラーを解消する方法PythonJupyter for i in range(100): img = toimage(X_test[i]) label = results[i].argmax() plt.subplot(10, 10, pos) plt.imshow(img) plt.axis('off') plt.title(cifar10_labels[label]) pos += 1 plt.show() を実行してイメージをJupyter notebookに表示させようとしたら、以下のようなエラーが出た。 KeyError Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/PIL
2020/01/05 リンク