TrainNetwo​rk関数実行時のエラ​ーについて

TrainNetwork関数実行時に学習を進めていくと「Error while starting:boost::thread_resource_error:間違ったフォーマットのプログラムを読み込もうとしました。」と表示されますが、これはどのようなエラーでしょうか?回避の方法がありますでしょうか?
なお、実行のPCのスペックはwin10 64bit、メモリ16GB、GPUとしてGTX1080Tiを1枚の構成です。 また、計算のパラメータはInitialLearnRateが0.0001、L2Regulalizationが0.005、ミニバッチサイズ 16、エポック数 32で画像は4クラスでそれぞれ5000枚の4クラス、学習に使用しているニューラルネットはvgg16です。

5 个评论

Approximate translation:
As we progress on learning when executing the TrainNetwork function, it says "Error while starting: boost :: thread_resource_error: I attempted to load a program in the wrong format." What kind of error is this? Is there a way to avoid it? The specifications of the running PC are win10 64bit, memory 16GB, one piece of GTX 1080Ti as GPU. In addition, the parameters of the calculation are: InitialLearnRate 0.0001, L2 Regalization 0.005, mini batch size 16, epoch number 32, 4 classes of images in 4 classes, 4 classes of 5000 sheets each, the neural network used for learning is vgg16.
michio
michio 2017-9-14
编辑:michio 2017-9-14
そのエラーは何か特定の条件で発生するものですか?
例えば下記のURLにあるサンプルプログラムを実行した場合も発生しますか? https://jp.mathworks.com/help/nnet/ref/trainnetwork.html
上記サンプルプログラムで発生しない場合、いま実行されているものと比べて例えば画像の量など大きく異なる点は何かありますでしょうか。
Which MATLAB version are you using? You need R2017a or later to use the GTX 1080Ti properly, but some computations worked properly with R2016b.
michio
michio 2017-9-19
「間違ったフォーマットのプログラムを読み込もうとしました。」はMathWorks提供する部分のコードからではなく、Windowsから出ているような感じがします。例えば、64ビット環境で32ビットの何かを読み込んでしまう場合に出ることがありますが、なにか思い当たる点はありますか?
If the wrong version of CUDA was installed for the device then you could get error messages. R2017a is needed to install CUDA 8.0 that the Pascal 1080 devices need.

请先登录,再进行评论。

 采纳的回答

Naoya
Naoya 2017-9-29
编辑:michio 2019-10-28

1 个投票

最新の Bug Reports の情報として Compute Capability 7.0 以上の GPU で CNN 関連の関数が実行できない問題が報告されております。
エラーメッセージは複数パターン考えられるようですが、gpuDevice コマンドで、ご利用の GPU の Compute Capability のバージョンを確認頂くのも宜しいかもしれません。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!