C4 Week 4 Art Generation with Neural Style Transfer submission issue

HI ,
I am getting below error when I submit my assignment . It is happening all the time now.
CAn you please check and let me know what is wrong.
When i run individual tests , I see all tests are passed.

Thanks
Anand

[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W4A2/Art_Generation_with_Neural_Style_Transfer.ipynb’
[ValidateApp | INFO] Executing notebook with kernel: python3
2021-04-29 14:43:54.573926: 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-04-29 14:43:54.573966: 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-04-29 14:43:56.285385: 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-04-29 14:43:56.285433: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2021-04-29 14:43:56.285464: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (somehost): /proc/driver/nvidia/version does not exist
2021-04-29 14:43:56.285686: 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-04-29 14:43:56.294485: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency: 3000000000 Hz
2021-04-29 14:43:56.296382: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f882155db10 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-04-29 14:43:56.296428: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
2021-04-29 14:44:01.190793: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 6400000000 exceeds 10% of free system memory.
[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/W4A2/Art_Generation_with_Neural_Style_Transfer.ipynb’

Hi anand,

People are working hard to resolve this issue at the backend. In the meantime, have a look at this post where some potential solutions are discussed: [Week 3] Image segmentation U-net assignment - #7 by vuqpham

Hope this helps and that you get to pass the assignment.

1 Like

Hi,

I am encountering the same issue. I have tried restart the kernel and submit without running any cell. It does not help.

I have also tried to restart the kernel and run all. Received the same results.
Anything else can I do? regards
SS

Hello,

I had the same issue. I have tried restarting kernel, re-running, only running until the last graded section and it’s test function, however, had this error occur.

I suppose it may be connected to an unoptimised solution.
I have removed the last graded code section, as its test results differed slightly from the expected values and it passed the grader, with 80%.

Hope, it helps a bit.

Hello

same problem here, I have tried to restart the kernel and submit without running any cell. It does not help.
All exercises run well until the end, including the style transfer, all successful, however submission does not work.

Note: the last graded section provides results which are slightly different than the expected (in the digits after the decimal point)

Just tried what Jamiko proposed and it worked. I removed the last graded section and got 80%.
Thanks Jamiko

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

Hi in J_content and remaining expected getting or any change in last decimals

Hi,
I have a same issue, all results are fine but the last one differs after the decimals. Thanks @JamIko , I followed and got 80%.