Skip to content

nb2 06_cnn_cuda_hooks_init.ipynb plotting errors #584

@itsa-mee-mario

Description

@itsa-mee-mario

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));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions