![](/img/trans.png)
[英]TypeError: conv2d_v2() got an unexpected keyword argument 'filter
[英]Theano: when was the filter_flip parameter for conv2d introduced? (TypeError: __init__() got an unexpected keyword argument 'filter_flip')
Theano theano.tensor.nnet.conv2d()
引入了theano.tensor.nnet.conv2d()
的filter_flip
參數? (即,支持它的最低Theano版本是?)
我的版本( 0.7.0.dev-8d3a67b73fda49350d9944c9a24fc9660131861c
)沒有它:
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/nnet/conv.py", line 146, in conv2d
imshp=imshp, kshp=kshp, nkern=nkern, bsize=bsize, **kargs)
TypeError: __init__() got an unexpected keyword argument 'filter_flip'
Theano的更改日志未提及filter_flip
。 theano.tensor.nnet.conv2d()
的文檔沒有提到最低要求的版本。
它出現在版本0.8.0中 。
注意,在發布實施theano.tensor.nnet.conv2d()
中發現的theano/tensor/nnet/conv.py
變得過時而被放置到新的實施方案替換theano/tensor/nnet/__init__.py
和theano/tensor/nnet/abstract_conv.py
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.