AI for Medical Diagnosis Programming Assignment: Chest X-Ray Medical Diagnosis with Deep Learning Autograder is unable to grade this assignment properly as it was always 0%

Cell #2. Can’t compile the student’s code. Error: FileNotFoundError(2, ‘File /home/jovyan/work/W1A1//tmp/ex1/data/nih/train-small.csv does not exist’)

I received all the outputs. Unfortunately autograder couldnt grade it due to the full path inclusion

Hi @divsal009,

for:

“Cell #2. Can’t compile the student’s code. Error: FileNotFoundError(2, ‘File /home/jovyan/work/W1A1//tmp/ex1/data/nih/train-small.csv does not exist’)”

Try to restart runtime from the notebook’s runtime and see if this works. If not, can you post Cell #2 that you have so that I can check if there is something kissing in there?

train_df = pd.read_csv(“/home/jovyan/work/W1A1/data/nih/train-small.csv”)
valid_df = pd.read_csv(“/home/jovyan/work/W1A1/data/nih/valid-small.csv”)

test_df = pd.read_csv(“/home/jovyan/work/W1A1/data/nih/test.csv”)

train_df.head()

The problem is autograder couldnt read entire path. Also I have to give entire path for the output

Hi @divsal009 ,

Your PATH specification might NOT match your workspace.
Could you try to delete the part of “/home/jovyan/work/W1A1” in the PATH specification?

ex. train_df = pd.read_csv(“data/nih/train-small.csv”)

No solution from coursera yet

Hi @divsal009,

Please replace your code with the below code and let me know if it works:

train_df = pd.read_csv(“data/nih/train-small.csv”)
valid_df = pd.read_csv(“data/nih/valid-small.csv”)
test_df = pd.read_csv(“data/nih/test.csv”)

i have the same problem, i need support

Hello @sebbasstian

was the issue resolved @sebbasstian ?

Kindly create a separate new thread with the details of your issue. as the error might be similar but the issue for your assignment might differ.

You could share image of your submission grader output with reason mention on why it failed without posting any codes that are graded.

You can tag mentors or any particular mentors if you want prompt response. We missed out on your comment because you posted on an older thread.

Regards
DP

i have problems for this two topics, both of them give me 0% at the moment of send it.
1.- chest x-ray doctor with deep learning
2.- Programming Tasks: Brain Tumor Autosegmentation for Magnetic Resonance Imaging (MRI)
the time expired, so i would like to know if is there any solution for me, because i’m paying for a good service, i think at least give me some answer

You can extend date of completion, but first please create separate two threads for the two separate assignments issue you are having with the details on what to share about your issue.