Issue submitting assignment C4 W2 "Transfer Learning with MobileNet"

Hi,

I am trying to submit the assignment, but I’m getting this error: Sorry, your submission was incorrect. Please try again. [Errno 2] No such file or directory: ‘/shared/submission/submission.json’

When I run the code in the Lab I don’t experience any issues. I’m attaching my submission in case it helps.

{mentor edit: code notebook removed}

1 Like

Please do not share your code. That is not allowed by the Code of Conduct.

I’ll remove the code file from your post, and provide some comments later.

1 Like

My apologies! Thank you for removing it for me.

Thank you also for your help!

1 Like

hi @galeal86

Such submission error means you might have edited or deleted a critical part of file directory.

If you are confident of your code, then first get a fresh copy and re-do your assignment making sure use the right code for base model and writing codes between markers ###START AND END CODE HERE###

Do not edit or delete anything outside these markers.

Also make sure when you are submitting you are not renaming the assignment file name, let the original name of file be the same when you opened from the classroom page

Try this and let me know if you still have same issue, because then one has to look at your codes to debug.

Regards
DP

Hi Deepti,

Thank you for your reply - I already tried what you suggested, removing all previous files and only editing the code in between the START and END CODE HERE lines. Unfortunately, it didn’t work.

Where should I submit my code to debug it? When I run the code on the lab (so before submitting it) I don’t encounter any issues and all tests pass.

Best,

1 Like

Passing all unittest doesn’t confirm your code is always correct. chances your code for some line must be not as per the instruction and I am more suspecting base model code line, because that is where the code is related to MobileNetV2. So please click on my name and then send me screenshots of the grade function codes.

When I mention debugging, I meant you need to check where your code is incorrect, there is no separate place of submission for debugging, either you find yourself the issue in your code or like how you posted here seeking help, then a mentor cross-check your code and provides you necessary hint, so you can debug your codes.

Hi,

I’ve tried again the exercise from scratch and I’ve been able to pass it! Thanks a ton for your help and assistance :slight_smile:

Best,

3 Likes