I WROTE THE CODES ALL CORRECTLY
the test passed all but in the grade output its saying
ValidateApp | INFO] Validating '/home/jovyan/work/submitted/courseraLearner/W1_Assignment/C1W1_Assignment.ipynb'
[ValidateApp | INFO] Executing notebook with kernel: python3
2024-11-27 12:40:40.227164: 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
2024-11-27 12:40:40.227300: 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
2024-11-27 12:40:40.227335: 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.
2024-11-27 12:40:42.566987: 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
2024-11-27 12:40:42.567021: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
2024-11-27 12:40:42.567051: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (ip-10-2-16-149.ec2.internal): /proc/driver/nvidia/version does not exist
2024-11-27 12:40:42.567215: 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
2024-11-27 12:40:42.594926: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2999995000 Hz
2024-11-27 12:40:42.597046: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5617ccc51a40 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2024-11-27 12:40:42.597076: 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
Tests failed on 2 cell(s)! These tests could be hidden. Please check your submission.
==========================================================================================
The following cell failed:
utils.test_df_drop(df)
The error was:
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-13-02ac41180da9> in <module>
----> 1 utils.test_df_drop(df)
2
~/work/submitted/courseraLearner/W1_Assignment/utils.py in test_df_drop(df)
94 ]
95
---> 96 test_loop(test_cases)
97
98 def test_data_sizes(train_size, test_size, val_size):
~/work/submitted/courseraLearner/W1_Assignment/utils.py in test_loop(test_cases)
25 print('\033[92m', success," Tests passed")
26 print('\033[91m', fails, " Tests failed")
---> 27 raise Exception("Please check the error messages above.")
28
29 def test_white_df(white_df):
Exception: Please check the error messages above.
==========================================================================================
The following cell failed:
utils.test_history(history)
The error was:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-34-bb2fa200c0ad> in <module>
----> 1 utils.test_history(history)
NameError: name 'history' is not defined