Skip to content

Instantly share code, notes, and snippets.

View Karol-G's full-sized avatar

Karol Gotkowski Karol-G

  • German Cancer Research Center (DKFZ)
  • Heidelberg, Germany
View GitHub Profile
from nilearn import plotting
import numpy as np
import nibabel as nib
import os
import matplotlib.pyplot as plt
from pathlib import Path
import scipy
class Preprocessor():
@Karol-G
Karol-G / main.py
Last active May 30, 2020 07:48
Grad-Cam with Pythia
import sys
sys.path.append('pythia')
sys.path.append('vqa-maskrcnn-benchmark')
import cv2
import torch
import gc
import pythia_grad_cam as pgc
from torch.utils.data import DataLoader
import time