You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
CNTK Crash: No computation node mapping exists for Variable Placeholder #3858
When I am using keras with CNTK backend to load and predict on a LSTM model, CNTK crash with the following bug trace:
About to throw exception 'Function 'Composite(Combine): Input('lstm_1_copy_LA_copy_LA_copy_LA_copy_CP_input', [#], [49 x 1]) -> Output('Plus1481_Output_0', [#], [1])': No computation node mapping exists for Variable Placeholder('Placeholder1594', [#, toSequence_Minus537_Output_0], [100]).'
Traceback (most recent call last):
File "exp1/job0/scripts/generation/script_prediction.py", line 121, in <module>
_get_prediction(bk=bk, model_path=flags.model_path, batch_size=batch_size)
File "exp1/job0/scripts/generation/script_prediction.py", line 42, in _get_prediction
pred = model.predict(x,batch_size=batch_size)
File "lib/python3.6/site-packages/keras/engine/training.py", line 1169, in predict
steps=steps)
File "lib/python3.6/site-packages/keras/engine/training_arrays.py", line 294, in predict_loop
batch_outs = f(ins_batch)
File "lib/python3.6/site-packages/keras/backend/cntk_backend.py", line 2016, in __call__
output_values = self.metrics_func.eval(input_dict, as_numpy=False)
File "cntk/cntk/bindings/python/cntk/ops/functions.py", line 733, in eval
_, output_map = self.forward(arguments, outputs, device=device, as_numpy=as_numpy)
File "cntk/cntk/bindings/python/cntk/internal/swig_helper.py", line 69, in wrapper
result = f(*args, **kwds)
File "cntk/cntk/bindings/python/cntk/ops/functions.py", line 867, in forward
keep_for_backward)
File "cntk/cntk/bindings/python/cntk/cntk_py.py", line 1980, in _forward
return _cntk_py.Function__forward(self, *args)
RuntimeError: Function 'Composite(Combine): Input('lstm_1_copy_LA_copy_LA_copy_LA_copy_CP_input', [#], [49 x 1]) -> Output('Plus1481_Output_0', [#], [1])': No computation node mapping exists for Variable Placeholder('Placeholder1594', [#, toSequence_Minus537_Output_0], [100]).
Activity