Skip to content

Instantly share code, notes, and snippets.

import time
import os
image_dir = os.getcwd() + '/Images/'
model_dir = os.getcwd() + '/Models/'
import torch
from torch.autograd import Variable
import torch.nn as nn
import torch.nn.functional as F
from torch import optim