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

nb2 06_cnn_cuda_hooks_init.ipynb plotting errors #584

Open
itsa-mee-mario opened this issue May 2, 2022 · 0 comments
Open

nb2 06_cnn_cuda_hooks_init.ipynb plotting errors #584

itsa-mee-mario opened this issue May 2, 2022 · 0 comments

Comments

@itsa-mee-mario
Copy link

plotting the means and std dev as given in the notebooks, for example:

for o in act_means: plt.plot(o)
plt.legend(range(5));

gives an error as o is a list of lists

to correct this, we can use

for o in act_means: plt.plot(torch.tensor(o))
plt.legend(range(5));
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

1 participant