link removed as sharing any codes, notebook links is against community guidelines
Hi there,
i was able to do the week 1 and week 2 relatively easily, but I am stuck on week 3’s programming assignment for a long time, on the very first question.
And I am not sure if it is testing for the right values:
E.g., its output is hardcoded to the following values, while the method get_sub_volume is randomly generating the output values:
expected_output = (np.array([[[[1., 2.],
[2., 4.]],
[[2., 4.],
[4., 8.]]]]),
np.array([[[[1., 0.],
[1., 0.]],
[[1., 0.],
[1., 0.]]],
[[[0., 1.],
[0., 1.]],
[[0., 1.],
[0., 1.]]]], dtype=np.float32))
This expected output will only work if the randomly chosen values inside the function (start_x
, start_y
, and start_z
) are equal to 1,1,1
The test passed, when I hard coded the above 3 variables as follows
start_x = 1
start_y = 1
start_z = 1