Open mozillah opened 3 years ago
Are you referring to Week2 of Course 2(Convolutional Neural Networks in TensorFlow)?
Are you referring to Week2 of Course 2(Convolutional Neural Networks in TensorFlow)?
Yes. I am referring to the course 2 of tensor flow specialization where we show filter output of heat map visualization .
I am working on Course 2 - Part 2 - Lesson 2 - Notebook but I could not understand why we are preprocessing the feature by using these operation in the notebook.if someone can explain me why we are doing it.I will be very thankful to you guys.
for i in range(n_features): **x = feature_map[0, :, :, i] x -= x.mean() x /= x.std () x *= 64 x += 128 x = np.clip(x, 0, 255).astype('uint8')
**