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

「cuDNN error: CUDNN_STATUS_MAPPING_ERROR」はオーバーフロー

Posted at

0 背景

CIFAR10で92%を出したモデルを
https://signate.jp/competitions/108
SIGNATEのコンペティションのモデルに適用させる際に出たエラーがこちら
ちなみにPytorchです。

    allow_unreachable=True)  # allow_unreachable flag
RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR

1 よくわからないけど再インストール

失敗

2 Pytorchのラベルの制限

「-1」を何かのラベルに利用しようとすると起こるらしい。
今回は当てはまらない

3 気が付いた

CIFAR10は10種類クラスわけのネットワーク
SIGNATEは20種類クラス分けのネットワーク

ネットワークの出力変えないとだめじゃないか!orz

普通よく考えてネットワーク作ると思いますが、
上記のエラーが出た場合は、出力の数とラベルの数が合っているか確認してみてください。。。

1
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
1
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?