Closed LinYangKorea closed 5 years ago
Hello Lin,
If you try to plot all the filters used in convolution for any layer it will take up a lot of time and hangs the compiler. I have added this when I was testing it, but if you use the one in Pytorch_run.py file, then you will just get the last layer output which will be a single image.
Let me know if you have any other issue.
Closing this Issue, if you have any doubts let me know. Will update all files soon with comments.
` def plot_kernels(tensor, n_iter, num_cols=5, cmap="gray"): """Plotting the kernals and layers Args: Tensor :Input layer, n_iter : number of interation, num_cols : number of columbs required for figure Output: Gives the figure of the size decided with output layers activation map
Why is all these data added. It stops when I try to change something here.