dataset-tutorial-for-image-classification icon indicating copy to clipboard operation
dataset-tutorial-for-image-classification copied to clipboard

Broken? Trying to addEventListener on null + reading 'id' of undefined

Open EmoryM opened this issue 4 years ago • 2 comments

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. (index.js:533) at index.js:57 at Object.next (index.js:38) at o (index.js:28)

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

EmoryM avatar Oct 23 '20 09:10 EmoryM

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?

thekevinscott avatar Oct 25 '20 15:10 thekevinscott

Saw the issue in Brave & Chrome. Just tested that link in both - it's working - successfully trained and tested against pexel-images and colors.

EmoryM avatar Oct 27 '20 06:10 EmoryM