Demo entry 6662992

x

   

Submitted by anonymous on Nov 28, 2017 at 22:27
Language: Python. Code size: 613 Bytes.

import nibabel as nib
import glob, os
import numpy as np
import matplotlib.pyplot as plt
import pickle
from PIL import Image
from torchvision import transforms
import numpy as np
from os.path import join
import torch
import time
from torch.autograd import Variable
import torch.nn.functional as F
from matplotlib.patches import Polygon


experiment_id = "001"


################################
# DATA PREPARATION
################################

class Dataset():
    def __init__(self):
        self.image_names = os.listdir('/media/yusuf/14584364-2a88-4b23-ab1e-88683a738029/Vascular

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).