dataset-tutorial-for-image-classification
dataset-tutorial-for-image-classification copied to clipboard
Broken? Trying to addEventListener on null + reading 'id' of undefined
Haven't really dug in but on https://thekevinscott.com/image-classification-with-javascript/
First off the link to download the example data set is broken.
Once I've come here and downloaded it trying to train gives:
tf-core.esm.js:17 Uncaught (in promise) TypeError: Cannot read property 'id' of undefined
at e.keep (tf-core.esm.js:17)
at t.keep (tf-core.esm.js:17)
at v (index.js:340)
at Object.
Opening the dev console to grab that I also see:
dom-scripts.js:122 Uncaught TypeError: Cannot read property 'addEventListener' of null at dom-scripts.js:122 at dom-scripts.js:135
Thanks for letting me know about the broken link - that should be fixed now.
Can you try this link and let me know if that's any different? What browser are you using?
Saw the issue in Brave & Chrome. Just tested that link in both - it's working - successfully trained and tested against pexel-images and colors.