Convolutional Neural Networks week2 Programming Assignment: Residual Networks

[ValidateApp | INFO] Validating '/home/jovyan/work/submitted/courseraLearner/W2A1/Residual_Networks.ipynb'

[ValidateApp | INFO] Executing notebook with kernel: python3
2021-05-04 08:08:25.164153: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library ‘libcudart.so.10.1’; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2021-05-04 08:08:25.164191: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2021-05-04 08:08:26.380729: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library ‘libcuda.so.1’; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-05-04 08:08:26.380756: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2021-05-04 08:08:26.380775: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (ip-10-3-0-30.ec2.internal): /proc/driver/nvidia/version does not exist
2021-05-04 08:08:26.380957: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-05-04 08:08:26.405506: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency: 2999995000 Hz
2021-05-04 08:08:26.407294: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x56139f5e94e0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-05-04 08:08:26.407318: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
[ValidateApp | ERROR] Kernel died while waiting for execute reply.
[ValidateApp | ERROR] Traceback (most recent call last):
File “/opt/conda/lib/python3.7/site-packages/nbconvert/preprocessors/execute.py”, line 478, in _poll_for_reply
msg = self.kc.shell_channel.get_msg(timeout=timeout)
File “/opt/conda/lib/python3.7/site-packages/jupyter_client/blocking/channels.py”, line 57, in get_msg
raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/nbgrader/preprocessors/execute.py", line 41, in preprocess
    output = super(Execute, self).preprocess(nb, resources)
  File "/opt/conda/lib/python3.7/site-packages/nbconvert/preprocessors/execute.py", line 405, in preprocess
    nb, resources = super(ExecutePreprocessor, self).preprocess(nb, resources)
  File "/opt/conda/lib/python3.7/site-packages/nbconvert/preprocessors/base.py", line 69, in preprocess
    nb.cells[index], resources = self.preprocess_cell(cell, resources, index)
  File "/opt/conda/lib/python3.7/site-packages/nbconvert/preprocessors/execute.py", line 438, in preprocess_cell
    reply, outputs = self.run_cell(cell, cell_index, store_history)
  File "/opt/conda/lib/python3.7/site-packages/nbconvert/preprocessors/execute.py", line 578, in run_cell
    exec_reply = self._poll_for_reply(parent_msg_id, cell, timeout)
  File "/opt/conda/lib/python3.7/site-packages/nbconvert/preprocessors/execute.py", line 483, in _poll_for_reply
    self._check_alive()
  File "/opt/conda/lib/python3.7/site-packages/nbconvert/preprocessors/execute.py", line 510, in _check_alive
    raise DeadKernelError("Kernel died")
nbconvert.preprocessors.execute.DeadKernelError: Kernel died

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/nbgrader/apps/validateapp.py", line 72, in start
    validator.validate_and_print(filename)
  File "/opt/conda/lib/python3.7/site-packages/nbgrader/validator.py", line 340, in validate_and_print
    results = self.validate(filename)
  File "/opt/conda/lib/python3.7/site-packages/nbgrader/validator.py", line 311, in validate
    nb = self._preprocess(nb)
  File "/opt/conda/lib/python3.7/site-packages/nbgrader/validator.py", line 290, in _preprocess
    nb, resources = pp.preprocess(nb, resources)
  File "/opt/conda/lib/python3.7/site-packages/nbgrader/preprocessors/execute.py", line 44, in preprocess
    raise UnresponsiveKernelError()
nbgrader.preprocessors.execute.UnresponsiveKernelError

[ValidateApp | ERROR] nbgrader encountered a fatal error while trying to validate ‘submitted/courseraLearner/W2A1/Residual_Networks.ipynb’

in Convolutional Neural Networks week 2 Programming Resnet problem running into a
Kernel died while waiting for execute reply
not really sure where I went wrong

2 Likes

I have the same problem, guess it is on their side.

1 Like

you think they will reach out to us ?

I hope they will !
It seems that we are not the only ones facing this issue in the past 24 hours :

1 Like

I’m getting the same problem … all tests passed for the graded functions

[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W2A1/Residual_Networks.ipynb’
[ValidateApp | INFO] Executing notebook with kernel: python3
2021-05-04 18:56:06.474084: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library ‘libcudart.so.10.1’; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory

Dear Moderators, any chance we could get an “O.K. , someone is working on it” or something similar? That would be helpful. There are an increasing number of similar reports on the old forum also. Does it make sense to be working on the Transfer Learning exercise in the meantime or will that run into the same issue?

Update: The Submit Button is missing for the Transfer Learning notebook

Update 2: Submit button visible but another backend error is manifest. The team are working on it!

1 Like

@koushikkirugulige @leopoldmaillard @avsharp
We are aware of this issue regarding the autograder for Week 2 assignment. The team at Coursera is working on it but it may take some time to fix it. We ask you all for patience while we work out this problem. Sorry for the inconvenience.

4 Likes

Hello!
I commented cells since:
# model.fit(X_train, Y_train, epochs = 2, batch_size = 32) until end.
It worked for me!!

4 Likes

Thanks Emiliano!
It worked for me too!

Many thanks ! It worked for me as well :slight_smile:

@Emiliano Thanks that worked :slight_smile:

For my reference: looked.

Please frequently check this post regarding the update: Course 4 Assignment Submission Issues