0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

「0から作るDeepLearning」の5章を写経した時のエラー原因

Posted at

こんにちは!

今日のエラー原因を書きます。

使用した本:「0から作るDeepLearning」

1「two_layer_net.py」の写経について

・5行目の[「common.layers」がなぜか
「ModuleNotFoundError: No module named 'common'」
とエラー表示された。

2「train_neuralnet.py」の写経について

・6行目の「dataset.mnist」がなぜか
「ModuleNotFoundError: No module named 'dataset'」
とエラー表示された。

エラー対策

1,2共に練習用に作ったpracticeディレクトリの中にcommonとdatesetをコピペしたら無事に直りました。

所感

今回はネットで調べたエラー対策方法で直って安心しました。
後写しているときに目がいかれそう。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?