C4W4A1 Face recognition autograder error

I finished the assignment without any error, however get the following error from the autograder.
Could you please give me some tips for how I can solve this issue

`[ValidateApp | INFO] Validating '/home/jovyan/work/submitted/courseraLearner/W4A1/Face_Recognition.ipynb'

[ValidateApp | INFO] Executing notebook with kernel: python3
2021-05-18 13:48:46.575554: 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-18 13:48:46.575594: 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-18 13:48:48.122428: 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-18 13:48:48.122462: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2021-05-18 13:48:48.122489: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (ip-10-3-0-35.ec2.internal): /proc/driver/nvidia/version does not exist
2021-05-18 13:48:48.122658: 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-18 13:48:48.149675: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency: 2999995000 Hz
2021-05-18 13:48:48.151765: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55da6e39ffa0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-05-18 13:48:48.151793: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
[ValidateApp | WARNING] For autograder tests, expecting output to indicate
partial credit and be single value between 0.0 and max_points.
Currently treating other output as full credit, but future releases
may treat as error.
[ValidateApp | WARNING] For autograder tests, expecting output to indicate
partial credit and be single value between 0.0 and max_points.
Currently treating other output as full credit, but future releases
may treat as error.
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.`

1 Like

Hey @farzaneh can you double check that within your assignment you are not just getting “all tests passed”, but also matching the expected outputs ? Thanks.

1 Like

Thanks for quick reply! yes, actually there is a case that it doesn’t match the expected value.

1 Like

Can you share that case with me in a DM ? With the solution code you are using. Thanks.

Sure! I just send it to you.

1 Like

Just in case it helps someone, make sure to output a scalar value for the loss in step 4 of the triplet loss function (this is actually stated on the instructions as well).

1 Like