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.

FR: Improve error messages for invalid configuration objects

See original GitHub issue

To get help from the community, check out our Google group.

TensorFlow.js version

tfjs: “0.11.1”, tfjs-core: “0.11.0”, tfjs-layers: “0.6.1”

Browser version

66.0.3359.117

Describe the problem or feature request

Unhelpful error message when layers built with an invalid configuration

Code to reproduce the bug / link to feature request

const layer = tf.layers.conv2d({filters: 1, 
                                kenrelSize: 2,
                                strides: 1,
                                padding:'valid',
                                dataFormat:'channelsLast',
                                inputShape: [24,24, 1]
                               });

yeilds the error Uncaught TypeError: Cannot read property 'length' of undefined

when the actual error is that kernelSize is misspelled as kenrelSize

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
bileschicommented, Jun 13, 2018
0reactions
rthadurcommented, Oct 31, 2018

Closing the issue as the commit has been pushed here https://github.com/tensorflow/tfjs-layers/pull/216#issue-191263092, please feel free to reopen the issue if this has not been addressed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid configuration object in webpack - Stack Overflow
In the video "Building with Webpack", I followed the steps author described exactly, but the "webpack" command failed giving the following error ......
Read more >
Error message about invalid config file does not ... - GitHub
I expected to get an error about the invalid config file, and I expected the error message to mention that the invalid config...
Read more >
Cisco Secure Firewall Migration Tool Error Messages
This error occurs when Firewall Migration Tool is unable to validate the parsed configuration against the configuration elements available on ...
Read more >
Error Message Guide - ETF
It offers extensive information on all Business Objects products, updates, troubleshooting, tips, and much more. In addition, registered DEVELOPER SUITE ...
Read more >
Common Error Messages in Device-Related Operations
Unable to apply configuration changes to the device as the configuration being pushed has invalid value. This could be due to an invalid ......
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