add import nn to train script
parent
cb0cfa3e19
commit
2103cf1e91
|
@ -8,6 +8,7 @@ import os.path as osp
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
|
import torch.nn as nn
|
||||||
import torch.backends.cudnn as cudnn
|
import torch.backends.cudnn as cudnn
|
||||||
from torch.utils.data import DataLoader
|
from torch.utils.data import DataLoader
|
||||||
from torch.autograd import Variable
|
from torch.autograd import Variable
|
||||||
|
|
Loading…
Reference in New Issue