Comments (4)
Hi @Imorton-zd ,
you'll probably need to pass the inputs to that layer as a list:
decoder_outputs, states = decoder_layer([decoder_inputs,encoder_outputs,state])
from keras.
Hi @lvapeab, thanks for your suggestion. However, I got another error after modification as your post.
Traceback (most recent call last):
File "<ipython-input-92-3a7350e5c38d>", line 1, in <module>
runfile('D:/intern/experiments/myAtt_with_custom.py', wdir='D:/intern/experiments')
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile
execfile(filename, namespace)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "D:/intern/experiments/myAtt_with_custom.py", line 183, in <module>
decoder_outputs, sts = decoder_layer([decoder_inputs,encoder_outputs,state])
File "C:\ProgramData\Anaconda3\lib\site-packages\keras\engine\topology.py", line 592, in __call__
self.build(input_shapes)
File "D:\intern\experiments\myRecurrent.py", line 1140, in build
regularizer=self.ba_regularizer)
File "C:\ProgramData\Anaconda3\lib\site-packages\keras\legacy\interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
TypeError: add_weight() got multiple values for argument 'name'
The error is also met at the decoder_layer
line. Where is the mistake?
from keras.
Hi, @MarcBS , please help me solve this problem when you have some time.
from keras.
Hi, @Imorton-zd , if you show us your code maybe we will be able to give you some hint about what might be failing.
from keras.
Related Issues (20)
- Recurrent dropout is broken in (at least) AttGRUCond HOT 1
- Deconvolution layer not supported, while converting caffemodel weight into keras. HOT 3
- If i'm intending on using tensor flow? HOT 3
- Test WeightNorm optimizers HOT 1
- Use non-standard version of caffe for model conversion. HOT 3
- Bug when run caffe2keras HOT 1
- Hi
- hi when i run test_segmentation.py i receive this error str(n) + ' integers. Received: ' + str(value)) ValueError: The `1st entry of padding` argument must be a tuple of 2 integers. Received: 100
- when i run test_segmentation.py i receive this essor str(n) + ' integers. Received: ' + str(value)) ValueError: The `1st entry of padding` argument must be a tuple of 2 integers. Received: 100
- Conversion of PoolingND Layer
- python3 support for caffe2keras HOT 1
- Error when converting with merge layer
- the accuracy decrease appearently after converting caffe to keras. HOT 1
- Error when converting with Scale layer HOT 1
- no module named 'keras_applications' HOT 1
- TypeError: expected bytes, str found HOT 4
- Negative dimension size for 'pool2/MaxPool' (op: 'MaxPool') with input shapes:[?,1,112,128].
- Hi, I'm just wondering why you coded like this.
- Caffe2keras.py: ValueError: need more than 3 values to unpack in convert.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keras.