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

InternalError: Caught exception while executing nGraph computation: Second argument of index must be an integer #347

Open
letalvoj opened this issue Nov 24, 2019 · 1 comment

Comments

@letalvoj
Copy link

letalvoj commented Nov 24, 2019

The full notebooks and error logs can be found in this gist.

Error

~/Workspace/Personal/ngraphtf/venv/lib/python3.7/site-packages/tensorflow/python/client/session.py in __call__(self, *args, **kwargs)
   1456         ret = tf_session.TF_SessionRunCallable(self._session._session,
   1457                                                self._handle, args,
-> 1458                                                run_metadata_ptr)
   1459         if run_metadata:
   1460           proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)

InternalError: Caught exception while executing nGraph computation: Second argument of index must be an integer

	 [[{{node ngraph_cluster_17}}]]

Snippet

session = tf.Session(config=config_ngraph_enabled)
tf.keras.backend.set_session(session)

model = tf.keras.models.Sequential([
  tf.keras.layers.Flatten(input_shape=(28, 28)),
  tf.keras.layers.Dense(128, activation='relu'),
  tf.keras.layers.Dropout(0.2),
  tf.keras.layers.Dense(10, activation='softmax')
])

Packages

Package                  Version
------------------------ -------
ngraph-core              0.26.0 
ngraph-tensorflow-bridge 0.18.0 
plaidml                  0.6.4  
tensorflow               1.14.0 

System

• MacOS 10.14.6 (18G103)

@letalvoj
Copy link
Author

Might be related to #290 yet the error is more similar to #129.

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

1 participant