FR: Improve error messages for invalid configuration objects
See original GitHub issueTo 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:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, there we go, submitted just now. https://github.com/tensorflow/tfjs-layers/pull/216#issue-191263092
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.