Despite having restarted the kernel, rerun all the cells, I keep getting the following error “name ‘forward_propagation_test’ is not defined”.
This keeps blocks my result to 60% despite the fact that all the other cells run without problems and I was able to identify the two bugs with the gradient checking.
It might be possible that you had forgotten to run the cell corresponding to that cell that contained the definition. Do check if that is the case and run it once more just to be sure!
I believe that the function forward_propagation_test is defined in the file public_tests.py, so make sure that you run the first code cell of the notebook, the one with the following content:
import numpy as np
from testCases import *
from public_tests import *
from gc_utils import sigmoid, relu, dictionary_to_vector, vector_to_dictionary, gradients_to_vector
%load_ext autoreload
%autoreload 2
Are you using the Coursera platform? I am not sure why this is happening. If you have the file, this error should not have popped up. If you can, could you open public_tests.py and check if the definition is present?
Hi @thearkamitra
I was in the middle of no where with no internet access…
The definition seems to be present, here are the first lines of code of public_tersts.py.