Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help me in understanding of code. #188

Open
mozillah opened this issue Jun 17, 2021 · 2 comments
Open

Help me in understanding of code. #188

mozillah opened this issue Jun 17, 2021 · 2 comments

Comments

@mozillah
Copy link

mozillah commented Jun 17, 2021

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')**

Screenshot from 2021-06-17 09-00-58

@smita-09
Copy link

Are you referring to Week2 of Course 2(Convolutional Neural Networks in TensorFlow)?

@mozillah
Copy link
Author

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
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants