LoginSignup
0
0

More than 1 year has passed since last update.

ValueError: Unknown activation function:swish

Posted at

ValueError: Unknown activation function:swish が出た時

原因:

レイヤーが入っていないため、エラーが起きる
参考記事:https://github.com/qubvel/efficientnet/issues/62

解決法:

  • モデル作成時の既存のレイヤーを入れる↓
from efficientnet.keras import EfficientNetB0
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