Skip to content

Instantly share code, notes, and snippets.

View snehotosh's full-sized avatar
🎯
Focusing

Snehotosh Banerjee snehotosh

🎯
Focusing
  • Fractal Analytics
  • Bangalore
  • 11:22 (UTC +05:30)
  • X @snehotosh
View GitHub Profile
@snehotosh
snehotosh / visualisation.py
Created May 11, 2019 07:04 — forked from Nikhil-Kasukurthi/visualisation.py
Visualisation of CNN using Grad-Cam on PyTorch
import cv2
import numpy as np
import torch
from torchvision import models, transforms
from torch.autograd import Variable
import torch
import torch.nn as nn
import pickle
import os
import argparse
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.