Assignments are not working

I tried running the ungraded lab and am getting a bunch of errors:
C1_W1_Lab_2_iris_classifier.html:1 Access to fetch at ‘file:///C:/data/iris.csv’ from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, isolated-app, brave, https, chrome-untrusted, data, chrome-extension, chrome.
/C:/data/iris.csv:1 Failed to load resource: net::ERR_FAILED
tfjs@latest:17 Uncaught (in promise) TypeError: Failed to fetch
at e. (tfjs@latest:17:266580)
at e.t (tfjs@latest:17:266483)
at P4 (tfjs@latest:17:197669)
at tfjs@latest:17:962034
at h (tfjs@latest:17:2100)
at Generator. (tfjs@latest:17:3441)
at Generator.next (tfjs@latest:17:2463)
at u (tfjs@latest:17:8324)
at o (tfjs@latest:17:8527)
at tfjs@latest:17:8586

that said I went through the videos several times and built the first assignment. I double checked all dimensions and am getting this error:
Uncaught (in promise) TypeError: n.iterator is not a function
at tfjs@latest:17:596224
at h (tfjs@latest:17:2100)
at Generator. (tfjs@latest:17:3441)
at Generator.next (tfjs@latest:17:2463)
at u (tfjs@latest:17:8324)
at o (tfjs@latest:17:8527)

I am also constantly getting this error as well:
Failed to load resource: the server responded with a status of 404 (Not Found)

I’m not sure how I can be getting a 404 error when all the files are there.

little frustration as my code should work, I’m happy to post the line for the dimension if I need to. The fact that the practice lab doesn’t work either is concerning…I don’t have much to go off of

1 Like

Hello,

I am tagging a mentor of this specialisation @Jamal022
Jamal Can you have look at this post.

From what I know 404 error only comes when the files required for you to do assignment are not there or have been deleted. It can also happen if there is tensorflow version discrepancy as this course requires a particular version of tfjs.

this statement tells your assignment and files which requires the browser to read the codes are not in one folders causing these error in your chrome browser.

Make sure you have followed these instructions.

Regards
DP

Hey @Hal_Roberts,

Are you using Brackets editor’s built-in local server ?

Yes I am, though I also tried it in vs code and that gave me the same errors. The web server for chrome extension is outdated.

1 Like

I have double and triple checked that all the files are paths are correct.

1 Like

image
If this isn’t the local server then LMK I don’t see any other options

1 Like

Hey @Hal_Roberts,

It’s the live preview you are right!
Well double check your path and check the ‘/’ and \

Yes I have double checked the paths and am still receiving the 404 error. The paths are correct

1 Like

Hey @Hal_Roberts,

Can you send me your code via DM? click on my name and send your code

Regards,
Jamal

sent

sent