Skip to content
New issue

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

Can not run it on windows 10 #6

Open
vasilyevdm opened this issue Sep 6, 2020 · 1 comment
Open

Can not run it on windows 10 #6

vasilyevdm opened this issue Sep 6, 2020 · 1 comment

Comments

@vasilyevdm
Copy link

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

@baozoudeshizi
Copy link

I have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants