We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All the tensorflow debug seems good, but then I get:
Traceback (most recent call last): File "test.py", line 3, in phoney = BigPhoney() File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\big_phoney-1.0.1-py3.7.egg\big_phoney\big_phoney.py", line 15, in init self.pred_model = PredictionModel() File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\big_phoney-1.0.1-py3.7.egg\big_phoney\prediction_model.py", line 16, in init self.training_model, self.encoder, self.decoder = self._build_model() File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\big_phoney-1.0.1-py3.7.egg\big_phoney\prediction_model.py", line 75, in _build_model context = get_context(encoder_outputs, h) File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\big_phoney-1.0.1-py3.7.egg\big_phoney\prediction_model.py", line 38, in get_context context = attn_dot([attention_weights, encoder_outputs]) File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 926, in call input_list) File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 1098, in _functional_construction_call self._maybe_build(inputs) File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 2643, in _maybe_build self.build(input_shapes) # pylint:disable=not-callable File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\utils\tf_utils.py", line 323, in wrapper output_shape = fn(instance, input_shape) File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\layers\merge.py", line 680, in build 'Chosen axes: %s, %s' % (axes[0], axes[1])) ValueError: Dimension incompatibility 20 != None. Layer shapes: (None, 20, 1), (None, None, 512). Chosen axes: 1, 1
The text was updated successfully, but these errors were encountered:
I have the same problem
Sorry, something went wrong.
No branches or pull requests
All the tensorflow debug seems good, but then I get:
Traceback (most recent call last):
File "test.py", line 3, in
phoney = BigPhoney()
File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\big_phoney-1.0.1-py3.7.egg\big_phoney\big_phoney.py", line 15, in init
self.pred_model = PredictionModel()
File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\big_phoney-1.0.1-py3.7.egg\big_phoney\prediction_model.py", line 16, in init
self.training_model, self.encoder, self.decoder = self._build_model()
File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\big_phoney-1.0.1-py3.7.egg\big_phoney\prediction_model.py", line 75, in _build_model
context = get_context(encoder_outputs, h)
File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\big_phoney-1.0.1-py3.7.egg\big_phoney\prediction_model.py", line 38, in get_context
context = attn_dot([attention_weights, encoder_outputs])
File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 926, in call
input_list)
File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 1098, in _functional_construction_call
self._maybe_build(inputs)
File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 2643, in _maybe_build
self.build(input_shapes) # pylint:disable=not-callable
File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\utils\tf_utils.py", line 323, in wrapper
output_shape = fn(instance, input_shape)
File "C:\Users\vasil\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\layers\merge.py", line 680, in build
'Chosen axes: %s, %s' % (axes[0], axes[1]))
ValueError: Dimension incompatibility 20 != None. Layer shapes: (None, 20, 1), (None, None, 512). Chosen axes: 1, 1
The text was updated successfully, but these errors were encountered: