0
0

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 5 years have passed since last update.

CNTKサンプルのinstall_cifar10.pyがエラーを起こすとき

Last updated at Posted at 2017-12-21

Cifar10がダウンロードできない

ディープラーニングの分散学習を行うためにCNTK(Microsoftのディープラーニング用フレームワーク)を触っていたところ、サンプルのinnstall_cifar10.pyが動かず、学習が始められなかった。

原因

cifar10のダウンロードURLが変更されていた。
http://の部分が、本元のサイトはhttps://になっていた。

解決策

CNTK/Examples/image/DataSets/CIFAR-10/install_cifar.pyの5行目にあるURLを書き換える。

  • 元のコード
install_cifar10_old.py
ut.loadData('http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz')
  • 変更後の5行目
install_cifar10.py
ut.loadData('https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz')

以上。

雑談

分散学習のためにNNablaやChainerMNのインストールを試してもうまくいかない、、、。

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?