Unable to submit the assignment for the course, its taking lot of time and i'm attaching the terminal output

When creating a post, please add:

  • Week # must be added in the tags option of the post.
  • Link to the classroom item you are referring to:
  • Description (include relevant info but please do not post solution code or your entire notebook):

[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W4_Assignment/C1W4_Assignment.ipynb’ [ValidateApp | INFO] Executing notebook with kernel: python3 2025-09-28 14:44:04.345875: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘libnvinfer.so.6’; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory 2025-09-28 14:44:04.345965: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘libnvinfer_plugin.so.6’; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory 2025-09-28 14:44:04.345975: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly. 2025-09-28 14:44:05.506628: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘libcuda.so.1’; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory 2025-09-28 14:44:05.506662: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303) 2025-09-28 14:44:05.506691: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (ip-10-2-108-177.ec2.internal): /proc/driver/nvidia/version does not exist 2025-09-28 14:44:05.506882: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA 2025-09-28 14:44:05.532528: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2999995000 Hz 2025-09-28 14:44:05.534850: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55bbba98e100 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-28 14:44:05.534890: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version [ValidateApp | ERROR] Timeout waiting for execute reply (30s). [ValidateApp | ERROR] Interrupting kernel [ValidateApp | ERROR] Traceback (most recent call last): File “/opt/conda/lib/python3.7/site-packages/nbconvert/preprocessors/execute.py”, line 589, in run_cell msg = self.kc.iopub_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/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 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 597, in run_cell raise TimeoutError(“Timeout waiting for IOPub output”) TimeoutError: Timeout waiting for IOPub output [ValidateApp | ERROR] nbgrader encountered a fatal error while trying to validate ‘submitted/courseraLearner/W4_Assignment/C1W4_Assignment.ipynb’

hi @NitinGaurav

Cam you please check the tf and keras version your lab is working?

TensorFlow Version: 2.1.0
tf.keras Version : 2.2.4-tf

Hi @NitinGaurav

Please make sure you have not deleted, edited or added anything outside the markers ###Start and. end your code here###

if you have done then get a fresh copy and re-do your assignment by only writing codes between these markers.

if you are unsure about the above and confident about your code, then clear out your kernel output, reconnect the kernel, and then re-run the cells one by one.

How to get fresh copy :backhand_index_pointing_down:t2:
Another thing you can could try is save a copy of your assignment you did.

Then go to file section and select open, then delete the assignment file.

After this reboot the Jupiter environment by clicking :red_question_mark:.

Once rebooting done, click :red_question_mark: again, then Get Latest Version, then Update lab.

Now you have a fresh copy.

By referring your saved copy, write the codes again in the assignment, also review if there is any change between your old and new copies.

Then run each cell one by one, then submit.

Let me know if you are still stuck.

Hey, thanks a lot. the second(alternative step) you mentioned in the comments worked.