question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mnist.py sample fails with debug layer enabled

See original GitHub issue

The error log is

D3D12 ERROR: ID3D12GraphicsCommandList::ExecuteMetaCommand: Supplied parameters size [40] doesn't match enumerated size[32]. [ EXECUTION ERROR #1174: META_COMMAND_PARAMETER_SIZE_MISMATCH]

I enabled the DirectML debugging layer.

I ran this sample on a machine with Windows 10 20H2 build 19042.685 and Intel HD630 GPU with driver version 27.20.100.9030 (11/27/2020).

BTW, I can workaround it by supplying ExecutionFlags.DISABLE_META_COMMANDS.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
wchao1115commented, Jan 8, 2021

@huningxin After more investigation, this is a bug in directml. We’re working on the fix and will update this thread when the fix is available.

0reactions
huningxincommented, Mar 24, 2021

Great to know. Thanks. I am happy to close this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

error running mnist deepexplainer #1129 - slundberg/shap
I am having trouble running the mnist example that you have given for ... problem when using a custom tf.keras model (with Conv1D...
Read more >
Debugging Numerical Issues in TensorFlow Programs Using ...
This TF2 program creates a multi-layer perception (MLP) and trains it to recognize MNIST images. This example purposefully uses the low-level ...
Read more >
Debugging Tensorflow - Marc Päpper
MNIST example digits. Let's first load the data: import tensorflow as tf from tensorflow.contrib.learn.python.learn.datasets.mnist import ...
Read more >
How to Debug Models - Determined AI Documentation
How to Debug Models¶ ; Model-related Issues. Step 1 - Verify that your code runs locally. Step 2 - Verify that each Trial...
Read more >
TensorFlow Debugger Command-Line-Interface Tutorial: MNIST
To observe such an issue, run the following code without the debugger: python -m tensorflow.python.debug.examples.debug_mnist.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found