Course1, week2, assignment

while training is done and predictions are correct and model.json is downloaded, the file my_model.weights.bin is missing… any idea about what I am missing?

Hello,

It is missing or shows format issue?

Does your grader output shows the below message
Please check your submission. It does not have all needed files: my_model.json and my_model.weights.bin???

1 Like

Hello,
My grader is outputting the message even when I have both files in the zip,
Please check your submission. It does not have all needed files: my_model.json and my_model.weights.bin

What am I doing wrong?

Hello @_Mbuvi

Did you open and check those both files if they have the necessary content?.

Also the json and bin comes as zip files, so once unzip these two, you get two folders and those two needs to zipped and named as ____ something in the assignment it’s mentioned and then uploaded for submission.

Regards
DP

Hey.

After running my model the code automatically downloads 2 files,

  1. my_model.json
  2. my_model.weights.bin

In my case the files above are zipped when automatically downloading.
I zip both the files into a single zip file then I upload. But the grader tells me that I dont have all needed files.

1 Like

Hello,

How do I check the content of the .bin file?
The .json opens in a code editor but I do not have the resources to open the bin file.

Thank you for your response.

1 Like

I had the same issue when I had done the assignment and when I opened the zipped file it was empty, so check that’s the issue. Actually when it downloads directly, on the left side it shows if the files are present in the folder or images. If not then that can be the issue, otherwise you need to re-run the assignment codes and redownload again.

My zip file has both files.
I have run the model a number of times and re-downloaded the files but the error persists.

As problem solving I tried to submit my week 1’s submission which has the same files (a zipped json and bin file) but from a different model. The grader read both of the files which led me to think that there is an issue with the files that my second model is generating.
Is it okay if i share with you my zipped submission file to see if my files have an issue?

Thank you for your responses.

You can do so but send the file by personal DM. Click on my name and then message. What you could do is also send the notebook assignment you did, probably something which is missing could be found also.

Regards
DP